diff options
author | Naglis Jonaitis <njonaitis@gmail.com> | 2014-09-30 20:01:37 +0300 |
---|---|---|
committer | Naglis Jonaitis <njonaitis@gmail.com> | 2014-09-30 20:01:37 +0300 |
commit | f8fb4a7ca8a65362ff3f82b67998744f08d5570d (patch) | |
tree | 2a22c59bc3e2d3daafb3ba9f16e95574b28e2728 /youtube_dl | |
parent | e497a7f2ca46d485c2839969abc598faa16c49dc (diff) |
[nfl] Use compatible urlparse
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/nfl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/nfl.py b/youtube_dl/extractor/nfl.py index 4832b3ce4..cc7c921c3 100644 --- a/youtube_dl/extractor/nfl.py +++ b/youtube_dl/extractor/nfl.py @@ -6,7 +6,7 @@ import re from .common import InfoExtractor from ..utils import ( ExtractorError, - compat_urllib_parse, + compat_urllib_parse_urlparse, int_or_none, remove_end, ) @@ -90,7 +90,7 @@ class NFLIE(InfoExtractor): cdn_data = video_data.get('cdnData', {}) streams = cdn_data.get('bitrateInfo', []) if cdn_data.get('format') == 'EXTERNAL_HTTP_STREAM': - parts = compat_urllib_parse.urlparse(cdn_data.get('uri')) + parts = compat_urllib_parse_urlparse(cdn_data.get('uri')) protocol, host = parts.scheme, parts.netloc for stream in streams: formats.append( |