mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-05-09 00:46:05 +00:00
Compare commits
2 Commits
fe0d8cd782
...
c84399ee94
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c84399ee94 | ||
|
|
fbb8396758 |
@ -14,8 +14,8 @@ from ..utils.traversal import find_element, traverse_obj
|
|||||||
|
|
||||||
|
|
||||||
class TvwIE(InfoExtractor):
|
class TvwIE(InfoExtractor):
|
||||||
|
IE_NAME = 'tvw'
|
||||||
_VALID_URL = r'https?://(?:www\.)?tvw\.org/video/(?P<id>[^/?#]+)'
|
_VALID_URL = r'https?://(?:www\.)?tvw\.org/video/(?P<id>[^/?#]+)'
|
||||||
|
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://tvw.org/video/billy-frank-jr-statue-maquette-unveiling-ceremony-2024011211/',
|
'url': 'https://tvw.org/video/billy-frank-jr-statue-maquette-unveiling-ceremony-2024011211/',
|
||||||
'md5': '9ceb94fe2bb7fd726f74f16356825703',
|
'md5': '9ceb94fe2bb7fd726f74f16356825703',
|
||||||
@ -126,15 +126,15 @@ class TvwIE(InfoExtractor):
|
|||||||
|
|
||||||
|
|
||||||
class TvwTvChannelsIE(InfoExtractor):
|
class TvwTvChannelsIE(InfoExtractor):
|
||||||
IE_NAME = 'Tvw:TvChannels'
|
IE_NAME = 'tvw:tvchannels'
|
||||||
_VALID_URL = r'https?://(?:www\.)?tvw\.org/tvchannels/(?P<id>[^/?#]+)'
|
_VALID_URL = r'https?://(?:www\.)?tvw\.org/tvchannels/(?P<id>[^/?#]+)'
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://tvw.org/tvchannels/air/',
|
'url': 'https://tvw.org/tvchannels/air/',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'air',
|
'id': 'air',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': r're:^TVW Cable Channel Live Stream',
|
'title': r're:TVW Cable Channel Live Stream',
|
||||||
'thumbnail': r're:^https?://.*\.(?:jpe?g|png)$',
|
'thumbnail': r're:https?://.+/.+\.(?:jpe?g|png)$',
|
||||||
'live_status': 'is_live',
|
'live_status': 'is_live',
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
@ -142,8 +142,8 @@ class TvwTvChannelsIE(InfoExtractor):
|
|||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'tvw2',
|
'id': 'tvw2',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': r're:^TVW-2 Broadcast Channel',
|
'title': r're:TVW-2 Broadcast Channel',
|
||||||
'thumbnail': r're:^https?://.*\.(?:jpe?g|png)$',
|
'thumbnail': r're:https?://.+/.+\.(?:jpe?g|png)$',
|
||||||
'live_status': 'is_live',
|
'live_status': 'is_live',
|
||||||
},
|
},
|
||||||
}]
|
}]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user