mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-15 17:08:29 +00:00
TwentyMinutenIE
This commit is contained in:
parent
ff54ac38cd
commit
1babad85fc
@ -1443,17 +1443,6 @@ class GenericIE(InfoExtractor):
|
|||||||
'timestamp': 1641772800,
|
'timestamp': 1641772800,
|
||||||
'upload_date': '20220110',
|
'upload_date': '20220110',
|
||||||
},
|
},
|
||||||
}, {
|
|
||||||
# 🔧107
|
|
||||||
# TwentyMinutenIE; should be supported by _VALID_URL
|
|
||||||
'url': 'https://www.20min.ch/story/so-kommen-sie-bei-eis-und-schnee-sicher-an-557858045456',
|
|
||||||
'info_dict': {
|
|
||||||
'id': '523629',
|
|
||||||
'ext': 'mp4',
|
|
||||||
'title': 'So kommen Sie bei Eis und Schnee sicher an',
|
|
||||||
'description': 'md5:117c212f64b25e3d95747e5276863f7d',
|
|
||||||
},
|
|
||||||
'skip': 'IE fix required; update _VALID_URL',
|
|
||||||
}, {
|
}, {
|
||||||
# ✅124
|
# ✅124
|
||||||
# YoutubeIE
|
# YoutubeIE
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
|
|
||||||
class TwentyMinutenIE(InfoExtractor):
|
class TwentyMinutenIE(InfoExtractor):
|
||||||
|
_WORKING = False
|
||||||
IE_NAME = '20min'
|
IE_NAME = '20min'
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
https?://
|
https?://
|
||||||
@ -24,7 +25,7 @@ class TwentyMinutenIE(InfoExtractor):
|
|||||||
'id': '469148',
|
'id': '469148',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': '85 000 Franken für 15 perfekte Minuten',
|
'title': '85 000 Franken für 15 perfekte Minuten',
|
||||||
'thumbnail': r're:https?://.*\.jpg$',
|
'thumbnail': r're:https?://.+\.jpg',
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
'url': 'http://www.20min.ch/videoplayer/videoplayer.html?params=client@twentyDE|videoId@523629',
|
'url': 'http://www.20min.ch/videoplayer/videoplayer.html?params=client@twentyDE|videoId@523629',
|
||||||
@ -33,7 +34,7 @@ class TwentyMinutenIE(InfoExtractor):
|
|||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'So kommen Sie bei Eis und Schnee sicher an',
|
'title': 'So kommen Sie bei Eis und Schnee sicher an',
|
||||||
'description': 'md5:117c212f64b25e3d95747e5276863f7d',
|
'description': 'md5:117c212f64b25e3d95747e5276863f7d',
|
||||||
'thumbnail': r're:https?://.*\.jpg$',
|
'thumbnail': r're:https?://.+\.jpg',
|
||||||
},
|
},
|
||||||
'params': {
|
'params': {
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
@ -42,6 +43,16 @@ class TwentyMinutenIE(InfoExtractor):
|
|||||||
'url': 'http://www.20min.ch/videotv/?cid=44&vid=468738',
|
'url': 'http://www.20min.ch/videotv/?cid=44&vid=468738',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
_WEBPAGE_TESTS = [{
|
||||||
|
'url': 'https://www.20min.ch/story/so-kommen-sie-bei-eis-und-schnee-sicher-an-557858045456',
|
||||||
|
'info_dict': {
|
||||||
|
'id': '523629',
|
||||||
|
'ext': 'mp4',
|
||||||
|
'title': 'So kommen Sie bei Eis und Schnee sicher an',
|
||||||
|
'description': 'md5:117c212f64b25e3d95747e5276863f7d',
|
||||||
|
},
|
||||||
|
'skip': 'IE fix required; update _VALID_URL',
|
||||||
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
|
Loading…
Reference in New Issue
Block a user