]>
Commit | Line | Data |
---|---|---|
bc2ca1bb | 1 | from __future__ import unicode_literals |
2 | ||
ec5e77c5 | 3 | from .zdf import ZDFIE |
bc2ca1bb | 4 | |
bc2ca1bb | 5 | |
ec5e77c5 | 6 | class DreiSatIE(ZDFIE): |
bc2ca1bb | 7 | IE_NAME = '3sat' |
ec5e77c5 | 8 | _VALID_URL = r'https?://(?:www\.)?3sat\.de/(?:[^/]+/)*(?P<id>[^/?#&]+)\.html' |
9 | _TESTS = [{ | |
10 | # Same as https://www.zdf.de/dokumentation/ab-18/10-wochen-sommer-102.html | |
11 | 'url': 'https://www.3sat.de/film/ab-18/10-wochen-sommer-108.html', | |
12 | 'md5': '0aff3e7bc72c8813f5e0fae333316a1d', | |
13 | 'info_dict': { | |
14 | 'id': '141007_ab18_10wochensommer_film', | |
15 | 'ext': 'mp4', | |
16 | 'title': 'Ab 18! - 10 Wochen Sommer', | |
17 | 'description': 'md5:8253f41dc99ce2c3ff892dac2d65fe26', | |
18 | 'duration': 2660, | |
19 | 'timestamp': 1608604200, | |
20 | 'upload_date': '20201222', | |
bc2ca1bb | 21 | }, |
ec5e77c5 | 22 | }, { |
23 | 'url': 'https://www.3sat.de/gesellschaft/schweizweit/waidmannsheil-100.html', | |
24 | 'info_dict': { | |
25 | 'id': '140913_sendung_schweizweit', | |
26 | 'ext': 'mp4', | |
27 | 'title': 'Waidmannsheil', | |
28 | 'description': 'md5:cce00ca1d70e21425e72c86a98a56817', | |
29 | 'timestamp': 1410623100, | |
30 | 'upload_date': '20140913' | |
bc2ca1bb | 31 | }, |
ec5e77c5 | 32 | 'params': { |
33 | 'skip_download': True, | |
bc2ca1bb | 34 | } |
ec5e77c5 | 35 | }, { |
36 | # Same as https://www.zdf.de/filme/filme-sonstige/der-hauptmann-112.html | |
37 | 'url': 'https://www.3sat.de/film/spielfilm/der-hauptmann-100.html', | |
38 | 'only_matching': True, | |
39 | }, { | |
40 | # Same as https://www.zdf.de/wissen/nano/nano-21-mai-2019-102.html, equal media ids | |
41 | 'url': 'https://www.3sat.de/wissen/nano/nano-21-mai-2019-102.html', | |
42 | 'only_matching': True, | |
43 | }] |