From ae8fb74131c9161aef4b85445528fd8c3e970884 Mon Sep 17 00:00:00 2001 From: Zenon Mousmoulas Date: Fri, 19 Nov 2021 08:23:55 +0200 Subject: [PATCH] Fix typo url -> origin_url --- youtube_dl/extractor/glomex.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/glomex.py b/youtube_dl/extractor/glomex.py index 0913128e2..8af927b71 100644 --- a/youtube_dl/extractor/glomex.py +++ b/youtube_dl/extractor/glomex.py @@ -266,11 +266,13 @@ class GlomexEmbedIE(GlomexBaseIE): continue if not video_id_html or not integration_html: 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: if not video_id_js or not integration_js: 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): url, origin_url = self._unsmuggle_origin_url(url)