mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-13 20:53:06 +00:00
[extractor/nebula] Add beta.nebula.tv
(#6516)
Authored by: unbeatable-101
This commit is contained in:
parent
cf9fd52fab
commit
cbfe2e5cbe
@ -5,7 +5,7 @@ import urllib.error
|
|||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
from ..utils import ExtractorError, parse_iso8601
|
from ..utils import ExtractorError, parse_iso8601
|
||||||
|
|
||||||
_BASE_URL_RE = r'https?://(?:www\.)?(?:watchnebula\.com|nebula\.app|nebula\.tv)'
|
_BASE_URL_RE = r'https?://(?:www\.|beta\.)?(?:watchnebula\.com|nebula\.app|nebula\.tv)'
|
||||||
|
|
||||||
|
|
||||||
class NebulaBaseIE(InfoExtractor):
|
class NebulaBaseIE(InfoExtractor):
|
||||||
@ -183,6 +183,10 @@ class NebulaIE(NebulaBaseIE):
|
|||||||
'url': 'https://watchnebula.com/videos/money-episode-1-the-draw',
|
'url': 'https://watchnebula.com/videos/money-episode-1-the-draw',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'url': 'https://beta.nebula.tv/videos/money-episode-1-the-draw',
|
||||||
|
'only_matching': True,
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
def _fetch_video_metadata(self, slug):
|
def _fetch_video_metadata(self, slug):
|
||||||
|
Loading…
Reference in New Issue
Block a user