aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/nhl.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-26 13:06:02 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-26 13:06:02 +0100
commit8865bdeb377bc653cea66305af9bf530440771c4 (patch)
tree05725b8978c4a5888d67e772c8c68d4e3a6d737f /youtube_dl/extractor/nhl.py
parent3aa578cad2eae6bb5461b1b05e5471847546ff83 (diff)
downloadyoutube-dl-8865bdeb377bc653cea66305af9bf530440771c4.zip
youtube-dl-8865bdeb377bc653cea66305af9bf530440771c4.tar.gz
youtube-dl-8865bdeb377bc653cea66305af9bf530440771c4.tar.bz2
Remove useless u prefixes
Diffstat (limited to 'youtube_dl/extractor/nhl.py')
-rw-r--r--youtube_dl/extractor/nhl.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/youtube_dl/extractor/nhl.py b/youtube_dl/extractor/nhl.py
index 719eb51..bdcf7e2 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)