From 96800222076e707e1f98364024aa4fcedb980810 Mon Sep 17 00:00:00 2001 From: Zenon Mousmoulas Date: Sun, 12 Dec 2021 20:59:52 +0200 Subject: [PATCH] Remove unused method --- youtube_dl/extractor/glomex.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/youtube_dl/extractor/glomex.py b/youtube_dl/extractor/glomex.py index 8af927b71..c4b913b06 100644 --- a/youtube_dl/extractor/glomex.py +++ b/youtube_dl/extractor/glomex.py @@ -5,7 +5,6 @@ import re from .common import InfoExtractor from ..compat import ( - compat_str, compat_urllib_parse_urlparse, compat_urllib_parse_urlencode, ) @@ -210,14 +209,6 @@ class GlomexEmbedIE(GlomexBaseIE): player_url = cls._smuggle_origin_url(player_url, origin_url) return player_url - @classmethod - def _match_integration(cls, url): - if '_VALID_URL_RE' not in cls.__dict__: - cls._VALID_URL_RE = re.compile(cls._VALID_URL) - m = cls._VALID_URL_RE.match(url) - assert m - return compat_str(m.group('integration')) - @classmethod def _extract_urls(cls, webpage, origin_url): # make the scheme in _VALID_URL optional