1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 07:56:49 +00:00

Remove unused method

This commit is contained in:
Zenon Mousmoulas 2021-12-12 20:59:52 +02:00
parent ae8fb74131
commit 9680022207

View File

@ -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