aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/theta.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/theta.py')
-rw-r--r--hypervideo_dl/extractor/theta.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/hypervideo_dl/extractor/theta.py b/hypervideo_dl/extractor/theta.py
index 3b65436..8b6d70a 100644
--- a/hypervideo_dl/extractor/theta.py
+++ b/hypervideo_dl/extractor/theta.py
@@ -6,7 +6,7 @@ from ..utils import try_get
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 = [{
'url': 'https://www.theta.tv/davirus',
'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.',
'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):