mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	Update to ytdl-commit-6508688
Make default upload_/release_date a compat_str6508688e88Except: * "[NDR] Overhaul NDR and NJoy extractors" https://github.com/ytdl-org/youtube-dl/pull/30531 -01824d275b-39a98b09a2-f0a05a55c2-4186e81777
This commit is contained in:
		| @@ -136,6 +136,34 @@ class ZDFBaseIE(InfoExtractor): | ||||
| class ZDFIE(ZDFBaseIE): | ||||
|     _VALID_URL = r'https?://www\.zdf\.de/(?:[^/]+/)*(?P<id>[^/?#&]+)\.html' | ||||
|     _TESTS = [{ | ||||
|         # Same as https://www.phoenix.de/sendungen/ereignisse/corona-nachgehakt/wohin-fuehrt-der-protest-in-der-pandemie-a-2050630.html | ||||
|         'url': 'https://www.zdf.de/politik/phoenix-sendungen/wohin-fuehrt-der-protest-in-der-pandemie-100.html', | ||||
|         'md5': '34ec321e7eb34231fd88616c65c92db0', | ||||
|         'info_dict': { | ||||
|             'id': '210222_phx_nachgehakt_corona_protest', | ||||
|             'ext': 'mp4', | ||||
|             'title': 'Wohin führt der Protest in der Pandemie?', | ||||
|             'description': 'md5:7d643fe7f565e53a24aac036b2122fbd', | ||||
|             'duration': 1691, | ||||
|             'timestamp': 1613948400, | ||||
|             'upload_date': '20210221', | ||||
|         }, | ||||
|         'skip': 'No longer available: "Diese Seite wurde leider nicht gefunden"', | ||||
|     }, { | ||||
|         # Same as https://www.3sat.de/film/ab-18/10-wochen-sommer-108.html | ||||
|         'url': 'https://www.zdf.de/dokumentation/ab-18/10-wochen-sommer-102.html', | ||||
|         'md5': '0aff3e7bc72c8813f5e0fae333316a1d', | ||||
|         'info_dict': { | ||||
|             'id': '141007_ab18_10wochensommer_film', | ||||
|             'ext': 'mp4', | ||||
|             'title': 'Ab 18! - 10 Wochen Sommer', | ||||
|             'description': 'md5:8253f41dc99ce2c3ff892dac2d65fe26', | ||||
|             'duration': 2660, | ||||
|             'timestamp': 1608604200, | ||||
|             'upload_date': '20201222', | ||||
|         }, | ||||
|         'skip': 'No longer available: "Diese Seite wurde leider nicht gefunden"', | ||||
|     }, { | ||||
|         'url': 'https://www.zdf.de/nachrichten/heute-journal/heute-journal-vom-30-12-2021-100.html', | ||||
|         'info_dict': { | ||||
|             'id': '211230_sendung_hjo', | ||||
| @@ -195,13 +223,16 @@ class ZDFIE(ZDFBaseIE): | ||||
|         'url': 'https://www.zdf.de/dokumentation/planet-e/planet-e-uebersichtsseite-weitere-dokumentationen-von-planet-e-100.html', | ||||
|         'only_matching': True, | ||||
|     }, { | ||||
|         # Same as https://www.phoenix.de/sendungen/ereignisse/corona-nachgehakt/wohin-fuehrt-der-protest-in-der-pandemie-a-2050630.html | ||||
|         'url': 'https://www.zdf.de/politik/phoenix-sendungen/wohin-fuehrt-der-protest-in-der-pandemie-100.html', | ||||
|         'only_matching': True | ||||
|     }, { | ||||
|         # Same as https://www.3sat.de/film/ab-18/10-wochen-sommer-108.html | ||||
|         'url': 'https://www.zdf.de/dokumentation/ab-18/10-wochen-sommer-102.html', | ||||
|         'only_matching': True | ||||
|         'url': 'https://www.zdf.de/arte/todliche-flucht/page-video-artede-toedliche-flucht-16-100.html', | ||||
|         'info_dict': { | ||||
|             'id': 'video_artede_083871-001-A', | ||||
|             'ext': 'mp4', | ||||
|             'title': 'Tödliche Flucht (1/6)', | ||||
|             'description': 'md5:e34f96a9a5f8abd839ccfcebad3d5315', | ||||
|             'duration': 3193.0, | ||||
|             'timestamp': 1641355200, | ||||
|             'upload_date': '20220105', | ||||
|         }, | ||||
|     }] | ||||
|  | ||||
|     def _extract_entry(self, url, player, content, video_id): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan