Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Ralf
youtube-dl
Commits
45f63624
Unverified
Commit
45f63624
authored
Sep 13, 2020
by
Sergey M․
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[rtlnl] Extend _VALID_URL for new embed URL schema
parent
97f34a48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
youtube_dl/extractor/rtlnl.py
youtube_dl/extractor/rtlnl.py
+6
-1
No files found.
youtube_dl/extractor/rtlnl.py
View file @
45f63624
...
...
@@ -15,7 +15,8 @@ class RtlNlIE(InfoExtractor):
https?://(?:(?:www|static)\.)?
(?:
rtlxl\.nl/(?:[^\#]*\#!|programma)/[^/]+/|
rtl\.nl/(?:(?:system/videoplayer/(?:[^/]+/)+(?:video_)?embed\.html|embed)\b.+?\buuid=|video/)
rtl\.nl/(?:(?:system/videoplayer/(?:[^/]+/)+(?:video_)?embed\.html|embed)\b.+?\buuid=|video/)|
embed\.rtl\.nl/\#uuid=
)
(?P<id>[0-9a-f-]+)'''
...
...
@@ -91,6 +92,10 @@ class RtlNlIE(InfoExtractor):
},
{
'url'
:
'https://static.rtl.nl/embed/?uuid=1a2970fc-5c0b-43ff-9fdc-927e39e6d1bc&autoplay=false&publicatiepunt=rtlnieuwsnl'
,
'only_matching'
:
True
,
},
{
# new embed URL schema
'url'
:
'https://embed.rtl.nl/#uuid=84ae5571-ac25-4225-ae0c-ef8d9efb2aed/autoplay=false'
,
'only_matching'
:
True
,
}]
def
_real_extract
(
self
,
url
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment