1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 08:35:32 +00:00

[cleanup] Misc

Closes #5541
This commit is contained in:
pukkandan
2022-11-16 06:27:43 +05:30
parent a4894d3e25
commit 6368e2e639
75 changed files with 194 additions and 156 deletions

View File

@ -52,10 +52,9 @@ class UplynkIE(InfoExtractor):
return self._extract_uplynk_info(url)
class UplynkPreplayIE(UplynkIE):
class UplynkPreplayIE(UplynkIE): # XXX: Do not subclass from concrete IE
IE_NAME = 'uplynk:preplay'
_VALID_URL = r'https?://.*?\.uplynk\.com/preplay2?/(?P<path>ext/[0-9a-f]{32}/(?P<external_id>[^/?&]+)|(?P<id>[0-9a-f]{32}))\.json'
_TEST = None
def _real_extract(self, url):
path, external_id, video_id = self._match_valid_url(url).groups()