1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:57:40 +00:00
url -> origin_url
This commit is contained in:
Zenon Mousmoulas 2021-11-19 08:23:55 +02:00
parent 699390c40d
commit ae8fb74131

View file

@ -266,11 +266,13 @@ class GlomexEmbedIE(GlomexBaseIE):
continue continue
if not video_id_html or not integration_html: if not video_id_html or not integration_html:
continue continue
yield cls.build_player_url(video_id_html, integration_html, url) yield cls.build_player_url(video_id_html, integration_html,
origin_url)
elif script_tag: elif script_tag:
if not video_id_js or not integration_js: if not video_id_js or not integration_js:
continue continue
yield cls.build_player_url(video_id_js, integration_js, url) yield cls.build_player_url(video_id_js, integration_js,
origin_url)
def _real_extract(self, url): def _real_extract(self, url):
url, origin_url = self._unsmuggle_origin_url(url) url, origin_url = self._unsmuggle_origin_url(url)