[cleanup] Minor fixes

Closes #2334
This commit is contained in:
pukkandan
2022-01-21 13:27:44 +05:30
parent fc5fa964c7
commit 6970b6005e
12 changed files with 26 additions and 22 deletions
-3
View File
@@ -177,9 +177,6 @@ class GlomexEmbedIE(GlomexBaseIE):
@classmethod
def _extract_urls(cls, webpage, origin_url):
# in comparison with _VALID_URL:
# * make the scheme optional
# * simplify the query string part; after extracting iframe src, the URL will be matched again
VALID_SRC = rf'(?:https?:)?{cls._BASE_PLAYER_URL_RE}\?(?:(?!(?P=_q1)).)+'
# https://docs.glomex.com/publisher/video-player-integration/javascript-api/