X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=youtube_dl%2Fextractor%2Fnfl.py;h=cc7c921c364d64ee504fa6d31265d13a96565e8d;hb=3deed1e91ad4ede72ab0eb222dfd6c54fe963413;hp=4832b3ce4b765d332ea8e827205547bd062c400c;hpb=5f4c318844180d51745303979682a0a482f05328;p=youtube-dl 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(