diff options
author | Petr Půlpán <Pulpan3@gmail.com> | 2014-06-28 10:22:53 +0200 |
---|---|---|
committer | Petr Půlpán <Pulpan3@gmail.com> | 2014-06-28 10:22:53 +0200 |
commit | 458ade6361dfd57c50f2dbc41ced37c2d42c8cbf (patch) | |
tree | 9ab3800706296630a22b9d2c7d05591f048a3047 /youtube_dl/extractor/arte.py | |
parent | f2b8db57ebb15fa2edc9c7810436618a0725d451 (diff) |
[ArteTVFuture] fix empty formats list
Diffstat (limited to 'youtube_dl/extractor/arte.py')
-rw-r--r-- | youtube_dl/extractor/arte.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/arte.py b/youtube_dl/extractor/arte.py index b528a9ec5..b42102f3d 100644 --- a/youtube_dl/extractor/arte.py +++ b/youtube_dl/extractor/arte.py @@ -111,7 +111,7 @@ class ArteTVPlus7IE(InfoExtractor): if not formats: # Some videos are only available in the 'Originalversion' # they aren't tagged as being in French or German - if all(f['versionCode'] == 'VO' for f in all_formats): + if all(f['versionCode'] == 'VO' or f['versionCode'] == 'VA' for f in all_formats): formats = all_formats else: raise ExtractorError(u'The formats list is empty') @@ -189,9 +189,10 @@ class ArteTVFutureIE(ArteTVPlus7IE): _TEST = { 'url': 'http://future.arte.tv/fr/sujet/info-sciences#article-anchor-7081', 'info_dict': { - 'id': '050940-003', + 'id': '5201', 'ext': 'mp4', 'title': 'Les champignons au secours de la planète', + 'upload_date': '20131101', }, } |