diff options
Diffstat (limited to 'youtube_dl/extractor/nhl.py')
| -rw-r--r-- | youtube_dl/extractor/nhl.py | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/youtube_dl/extractor/nhl.py b/youtube_dl/extractor/nhl.py index 719eb51a4..bdcf7e239 100644 --- a/youtube_dl/extractor/nhl.py +++ b/youtube_dl/extractor/nhl.py @@ -4,9 +4,11 @@ import re  import json  from .common import InfoExtractor -from ..utils import ( +from ..compat import (      compat_urlparse,      compat_urllib_parse, +) +from ..utils import (      unified_strdate,  ) @@ -122,7 +124,7 @@ class NHLVideocenterIE(NHLBaseInfoExtractor):          response = self._download_webpage(request_url, playlist_title)          response = self._fix_json(response)          if not response.strip(): -            self._downloader.report_warning(u'Got an empty reponse, trying ' +            self._downloader.report_warning('Got an empty reponse, trying '                                              'adding the "newvideos" parameter')              response = self._download_webpage(request_url + '&newvideos=true',                                                playlist_title) | 
