diff options
author | Tom-Oliver Heidel <blackjack4494@web.de> | 2020-09-12 05:35:10 +0200 |
---|---|---|
committer | Tom-Oliver Heidel <blackjack4494@web.de> | 2020-09-12 05:35:10 +0200 |
commit | 1f0a81ebb6d30f776efaf25347f86c6582d7e593 (patch) | |
tree | 9ee88425cb9a6cfda60644d79ad4a8c2a6a8baf1 | |
parent | 6277650c469d2d2aa3c289e95636a2aea1554527 (diff) | |
parent | 23306df2d81b244d0e65ca36d0ead010d0224d95 (diff) | |
download | hypervideo-pre-1f0a81ebb6d30f776efaf25347f86c6582d7e593.tar.lz hypervideo-pre-1f0a81ebb6d30f776efaf25347f86c6582d7e593.tar.xz hypervideo-pre-1f0a81ebb6d30f776efaf25347f86c6582d7e593.zip |
Merge branch 'ddland-master'
-rw-r--r-- | youtube_dlc/extractor/rtlnl.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/youtube_dlc/extractor/rtlnl.py b/youtube_dlc/extractor/rtlnl.py index fadca8c17..8be5ca236 100644 --- a/youtube_dlc/extractor/rtlnl.py +++ b/youtube_dlc/extractor/rtlnl.py @@ -15,11 +15,25 @@ class RtlNlIE(InfoExtractor): https?://(?:(?:www|static)\.)? (?: rtlxl\.nl/[^\#]*\#!/[^/]+/| + rtlxl\.nl/programma/[^/]+/| rtl\.nl/(?:(?:system/videoplayer/(?:[^/]+/)+(?:video_)?embed\.html|embed)\b.+?\buuid=|video/) ) (?P<id>[0-9a-f-]+)''' _TESTS = [{ + 'url': 'https://www.rtlxl.nl/programma/rtl-nieuws/0bd1384d-d970-3086-98bb-5c104e10c26f', + 'md5': '490428f1187b60d714f34e1f2e3af0b6', + 'info_dict': { + 'id': '0bd1384d-d970-3086-98bb-5c104e10c26f', + 'ext': 'mp4', + 'title': 'RTL Nieuws', + 'description': 'md5:d41d8cd98f00b204e9800998ecf8427e', + 'timestamp': 1593293400, + 'upload_date': '20200627', + 'duration': 661.08, + }, + }, { + # old url pattern. Tests does not pass 'url': 'http://www.rtlxl.nl/#!/rtl-nieuws-132237/82b1aad1-4a14-3d7b-b554-b0aed1b2c416', 'md5': '473d1946c1fdd050b2c0161a4b13c373', 'info_dict': { |