mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-16 09:28:28 +00:00
PlaywireIE
This commit is contained in:
parent
6d9deed12a
commit
24ee70ebdd
@ -1051,16 +1051,6 @@ class GenericIE(InfoExtractor):
|
|||||||
},
|
},
|
||||||
'expected_warnings': ['HTTP Error 400: Bad Request', 'Ignoring subtitle tracks found in the HLS manifest'],
|
'expected_warnings': ['HTTP Error 400: Bad Request', 'Ignoring subtitle tracks found in the HLS manifest'],
|
||||||
'params': {'skip_download': True},
|
'params': {'skip_download': True},
|
||||||
}, {
|
|
||||||
# 🔍89
|
|
||||||
# PlaywireIE
|
|
||||||
'url': 'https://www.cinemablend.com/new/First-Joe-Dirt-2-Trailer-Teaser-Stupid-Greatness-70874.html',
|
|
||||||
'info_dict': {
|
|
||||||
'id': '3519514',
|
|
||||||
'ext': 'mp4',
|
|
||||||
'title': 'Joe Dirt 2 Beautiful Loser Teaser Trailer',
|
|
||||||
},
|
|
||||||
'skip': 'Site changed',
|
|
||||||
}, {
|
}, {
|
||||||
# ✅124
|
# ✅124
|
||||||
# YoutubeIE
|
# YoutubeIE
|
||||||
|
@ -19,6 +19,7 @@ class PlaywireIE(InfoExtractor):
|
|||||||
'thumbnail': r're:^https?://.*\.png$',
|
'thumbnail': r're:^https?://.*\.png$',
|
||||||
'duration': 145.94,
|
'duration': 145.94,
|
||||||
},
|
},
|
||||||
|
'skip': 'Invalid URL',
|
||||||
}, {
|
}, {
|
||||||
# m3u8 in f4m
|
# m3u8 in f4m
|
||||||
'url': 'http://config.playwire.com/21772/videos/v2/4840492/zeus.json',
|
'url': 'http://config.playwire.com/21772/videos/v2/4840492/zeus.json',
|
||||||
@ -27,10 +28,7 @@ class PlaywireIE(InfoExtractor):
|
|||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'ITV EL SHOW FULL',
|
'title': 'ITV EL SHOW FULL',
|
||||||
},
|
},
|
||||||
'params': {
|
'skip': 'Invalid URL',
|
||||||
# m3u8 download
|
|
||||||
'skip_download': True,
|
|
||||||
},
|
|
||||||
}, {
|
}, {
|
||||||
# Multiple resolutions while bitrates missing
|
# Multiple resolutions while bitrates missing
|
||||||
'url': 'http://cdn.playwire.com/11625/embed/85228.html',
|
'url': 'http://cdn.playwire.com/11625/embed/85228.html',
|
||||||
@ -42,6 +40,15 @@ class PlaywireIE(InfoExtractor):
|
|||||||
'url': 'http://cdn.playwire.com/v2/12342/config/1532636.json',
|
'url': 'http://cdn.playwire.com/v2/12342/config/1532636.json',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
_WEBPAGE_TESTS = [{
|
||||||
|
'url': 'https://www.cinemablend.com/new/First-Joe-Dirt-2-Trailer-Teaser-Stupid-Greatness-70874.html',
|
||||||
|
'info_dict': {
|
||||||
|
'id': '3519514',
|
||||||
|
'ext': 'mp4',
|
||||||
|
'title': 'Joe Dirt 2 Beautiful Loser Teaser Trailer',
|
||||||
|
},
|
||||||
|
'skip': 'Site changed',
|
||||||
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
mobj = self._match_valid_url(url)
|
mobj = self._match_valid_url(url)
|
||||||
|
Loading…
Reference in New Issue
Block a user