mirror of https://github.com/yt-dlp/yt-dlp.git
parent
1a20d29552
commit
0ff1e0fba3
|
@ -6,7 +6,7 @@ from ..utils import try_get
|
||||||
|
|
||||||
|
|
||||||
class ThetaStreamIE(InfoExtractor):
|
class ThetaStreamIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://(?:www\.)?theta\.tv/(?!video/)(?P<id>[a-z0-9]+)'
|
_VALID_URL = r'https?://(?:www\.)?theta\.tv/(?!video/)(?P<id>[a-z0-9-]+)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://www.theta.tv/davirus',
|
'url': 'https://www.theta.tv/davirus',
|
||||||
'skip': 'The live may have ended',
|
'skip': 'The live may have ended',
|
||||||
|
@ -25,6 +25,14 @@ class ThetaStreamIE(InfoExtractor):
|
||||||
'title': 'Mystery Science Theatre 3000 24/7 Powered by the THETA Network.',
|
'title': 'Mystery Science Theatre 3000 24/7 Powered by the THETA Network.',
|
||||||
'thumbnail': r're:https://user-prod-theta-tv\.imgix\.net/.+\.jpg',
|
'thumbnail': r're:https://user-prod-theta-tv\.imgix\.net/.+\.jpg',
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
'url': 'https://www.theta.tv/contv-anime',
|
||||||
|
'info_dict': {
|
||||||
|
'id': 'ConTVAnime',
|
||||||
|
'ext': 'mp4',
|
||||||
|
'title': 'CONTV ANIME 24/7. Powered by THETA Network.',
|
||||||
|
'thumbnail': r're:https://user-prod-theta-tv\.imgix\.net/.+\.jpg',
|
||||||
|
}
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
|
Loading…
Reference in New Issue