projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
614582b
)
[arte:creative] Support more URLs (fixes #3572)
author
Philipp Hagemeister
<phihag@phihag.de>
Sun, 24 Aug 2014 00:57:31 +0000
(
02:57
+0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sun, 24 Aug 2014 00:57:32 +0000
(
02:57
+0200)
youtube_dl/extractor/arte.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/arte.py
b/youtube_dl/extractor/arte.py
index d86dbba8e8db9748ecf61b59a36bfffa532a33d1..b5e464a30cb564547798c65607bc33f997a8e8e9 100644
(file)
--- a/
youtube_dl/extractor/arte.py
+++ b/
youtube_dl/extractor/arte.py
@@
-177,16
+177,24
@@
class ArteTVPlus7IE(InfoExtractor):
# It also uses the arte_vp_url url from the webpage to extract the information
class ArteTVCreativeIE(ArteTVPlus7IE):
IE_NAME = 'arte.tv:creative'
# It also uses the arte_vp_url url from the webpage to extract the information
class ArteTVCreativeIE(ArteTVPlus7IE):
IE_NAME = 'arte.tv:creative'
- _VALID_URL = r'https?://creative\.arte\.tv/(?P<lang>fr|de)/
magazine?/(?P<id>.
+)'
+ _VALID_URL = r'https?://creative\.arte\.tv/(?P<lang>fr|de)/
(?:magazine?/)?(?P<id>[^?#]
+)'
- _TEST
=
{
+ _TEST
S = [
{
'url': 'http://creative.arte.tv/de/magazin/agentur-amateur-corporate-design',
'info_dict': {
'url': 'http://creative.arte.tv/de/magazin/agentur-amateur-corporate-design',
'info_dict': {
- 'id': '
050489-002
',
+ 'id': '
72176
',
'ext': 'mp4',
'ext': 'mp4',
- 'title': 'Agentur Amateur / Agence Amateur #2 : Corporate Design',
+ 'title': 'Folge 2 - Corporate Design',
+ 'upload_date': '20131004',
},
},
- }
+ }, {
+ 'url': 'http://creative.arte.tv/fr/Monty-Python-Reunion',
+ 'info_dict': {
+ 'id': '160676',
+ 'ext': 'mp4',
+ 'title': 'Monty Python live (mostly)',
+ }
+ }]
class ArteTVFutureIE(ArteTVPlus7IE):
class ArteTVFutureIE(ArteTVPlus7IE):