mirror of https://github.com/yt-dlp/yt-dlp.git
parent
40078a55e2
commit
88f06afc0c
|
@ -13,9 +13,24 @@ from ..utils import smuggle_url
|
||||||
|
|
||||||
|
|
||||||
class RMCDecouverteIE(InfoExtractor):
|
class RMCDecouverteIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://rmcdecouverte\.bfmtv\.com/(?:(?:[^/]+/)*program_(?P<id>\d+)|(?P<live_id>mediaplayer-direct))'
|
_VALID_URL = r'https?://rmcdecouverte\.bfmtv\.com/(?:[^/]+/(?P<id>[^?#/]+)|(?P<live_id>mediaplayer-direct))'
|
||||||
|
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
|
'url': 'https://rmcdecouverte.bfmtv.com/vestiges-de-guerre_22240/les-bunkers-secrets-domaha-beach_25303/',
|
||||||
|
'info_dict': {
|
||||||
|
'id': '6250879771001',
|
||||||
|
'ext': 'mp4',
|
||||||
|
'title': 'LES BUNKERS SECRETS D´OMAHA BEACH',
|
||||||
|
'uploader_id': '1969646226001',
|
||||||
|
'description': 'md5:aed573ca24abde62a148e0eba909657d',
|
||||||
|
'timestamp': 1619622984,
|
||||||
|
'upload_date': '20210428',
|
||||||
|
},
|
||||||
|
'params': {
|
||||||
|
'format': 'bestvideo',
|
||||||
|
'skip_download': True,
|
||||||
|
},
|
||||||
|
}, {
|
||||||
'url': 'https://rmcdecouverte.bfmtv.com/wheeler-dealers-occasions-a-saisir/program_2566/',
|
'url': 'https://rmcdecouverte.bfmtv.com/wheeler-dealers-occasions-a-saisir/program_2566/',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '5983675500001',
|
'id': '5983675500001',
|
||||||
|
|
Loading…
Reference in New Issue