[utils] Remove url_infer_protocol
This commit is contained in:
parent
a662163fd5
commit
0a1603634b
4 changed files with 4 additions and 23 deletions
|
@ -26,7 +26,6 @@ from ..utils import (
|
|||
unsmuggle_url,
|
||||
UnsupportedError,
|
||||
url_basename,
|
||||
url_infer_protocol,
|
||||
xpath_text,
|
||||
)
|
||||
from .brightcove import BrightcoveIE
|
||||
|
@ -1286,7 +1285,7 @@ class GenericIE(InfoExtractor):
|
|||
r'<iframe[^>]+src="(?P<url>%s)"' % UDNEmbedIE._VALID_URL, webpage)
|
||||
if mobj is not None:
|
||||
return self.url_result(
|
||||
url_infer_protocol(url, mobj.group('url')), 'UDNEmbed')
|
||||
compat_urlparse.urljoin(url, mobj.group('url')), 'UDNEmbed')
|
||||
|
||||
def check_video(vurl):
|
||||
if YoutubeIE.suitable(vurl):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue