aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-04-26 17:54:06 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-04-28 19:18:06 +0530
commit1ad047d0f711512473a7ea07404f653338ea3049 (patch)
treefa6b5c01495eea4a62ac2ce2a591f3c1ed406ff7
parentbe6202f12b97858b9d716e608394b51065d0419f (diff)
downloadhypervideo-pre-1ad047d0f711512473a7ea07404f653338ea3049.tar.lz
hypervideo-pre-1ad047d0f711512473a7ea07404f653338ea3049.tar.xz
hypervideo-pre-1ad047d0f711512473a7ea07404f653338ea3049.zip
[nebula] Move to nebula.app
Closes #272 Tested by: Lamieur
-rw-r--r--yt_dlp/extractor/nebula.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/yt_dlp/extractor/nebula.py b/yt_dlp/extractor/nebula.py
index 3e1b2efaf..1a0a394f1 100644
--- a/yt_dlp/extractor/nebula.py
+++ b/yt_dlp/extractor/nebula.py
@@ -15,10 +15,10 @@ from ..utils import (
class NebulaIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?watchnebula\.com/videos/(?P<id>[-\w]+)'
+ _VALID_URL = r'https?://(?:www\.)?(?:watchnebula\.com|nebula\.app)/videos/(?P<id>[-\w]+)'
_TESTS = [
{
- 'url': 'https://watchnebula.com/videos/that-time-disney-remade-beauty-and-the-beast',
+ 'url': 'https://nebula.app/videos/that-time-disney-remade-beauty-and-the-beast',
'md5': 'fe79c4df8b3aa2fea98a93d027465c7e',
'info_dict': {
'id': '5c271b40b13fd613090034fd',
@@ -36,7 +36,7 @@ class NebulaIE(InfoExtractor):
'skip': 'All Nebula content requires authentication',
},
{
- 'url': 'https://watchnebula.com/videos/the-logistics-of-d-day-landing-craft-how-the-allies-got-ashore',
+ 'url': 'https://nebula.app/videos/the-logistics-of-d-day-landing-craft-how-the-allies-got-ashore',
'md5': '6d4edd14ce65720fa63aba5c583fb328',
'info_dict': {
'id': '5e7e78171aaf320001fbd6be',
@@ -54,7 +54,7 @@ class NebulaIE(InfoExtractor):
'skip': 'All Nebula content requires authentication',
},
{
- 'url': 'https://watchnebula.com/videos/money-episode-1-the-draw',
+ 'url': 'https://nebula.app/videos/money-episode-1-the-draw',
'md5': '8c7d272910eea320f6f8e6d3084eecf5',
'info_dict': {
'id': '5e779ebdd157bc0001d1c75a',
@@ -71,6 +71,10 @@ class NebulaIE(InfoExtractor):
},
'skip': 'All Nebula content requires authentication',
},
+ {
+ 'url': 'https://watchnebula.com/videos/money-episode-1-the-draw',
+ 'only_matching': True,
+ },
]
_NETRC_MACHINE = 'watchnebula'