This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[rtlnl] Improve _VALID_URL (
#5950
)
totalwebcasting
Sergey M․
9 years ago
parent
f98470df69
commit
a9d56c6843
1 changed files
with
5 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-2
youtube_dl/extractor/rtlnl.py
+ 5
- 2
youtube_dl/extractor/rtlnl.py
View File
@ -12,10 +12,10 @@ class RtlNlIE(InfoExtractor):
IE_NAME
=
'
rtl.nl
'
IE_DESC
=
'
rtl.nl and rtlxl.nl
'
_VALID_URL
=
r
'''
(?x)
https
?
:
/
/
(
www
\
.
)
?
https
?
:
/
/
(
?
:
www
\
.
)
?
(
?
:
rtlxl
\
.
nl
/
\
#!/[^/]+/|
rtl
\
.
nl
/
system
/
videoplayer
/
[
^
?
#]+?/video_embed\.html\#uuid
=
rtl
\
.
nl
/
system
/
videoplayer
/
(
?
:
[
^
/
]
+
/
)
+
(
?
:
video_
)
?
embed
\
.
html
\
b
.
+
?
\
buuid
=
)
(
?
P
<
id
>
[
0
-
9
a
-
f
-
]
+
)
'''
@ -43,6 +43,9 @@ class RtlNlIE(InfoExtractor):
'
upload_date
'
:
'
20150215
'
,
'
description
'
:
'
Er zijn nieuwe beelden vrijgegeven die vlak na de aanslag in Kopenhagen zijn gemaakt. Op de video is goed te zien hoe omstanders zich bekommeren om één van de slachtoffers, terwijl de eerste agenten ter plaatse komen.
'
,
}
}
,
{
'
url
'
:
'
http://www.rtl.nl/system/videoplayer/derden/embed.html#!/uuid=bb0353b0-d6a4-1dad-90e9-18fe75b8d1f0
'
,
'
only_matching
'
:
True
,
}
]
def
_real_extract
(
self
,
url
)
:
Write
Preview
Loading…
Cancel
Save