mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 22:35:21 +00:00
Fix copy/paste typo
This commit is contained in:
parent
a5ec30e106
commit
28fddc1758
@ -159,11 +159,12 @@ class MegaTVComEmbedIE(MegaTVComBaseIE):
|
||||
(?P<url>%(url_re)s)(?P=_q1)
|
||||
''' % {'quot_re': r'["\']', 'url_re': _URL_RE}
|
||||
for mobj in re.finditer(EMBED_RE, webpage):
|
||||
url = unescapeHTML(mobj.group('url'))
|
||||
if url.startswith('//'):
|
||||
scheme = compat_urllib_parse_urlparse(origin_url).scheme \
|
||||
if origin_url else 'https'
|
||||
url = '%s:%s' % (scheme, url)
|
||||
yield unescapeHTML(mobj.group('url'))
|
||||
yield url
|
||||
|
||||
def _real_extract(self, url):
|
||||
webpage = self._download_webpage(url, 'N/A')
|
||||
|
Loading…
Reference in New Issue
Block a user