diff options
| author | Philipp Hagemeister <phihag@phihag.de> | 2014-11-23 21:33:31 +0100 | 
|---|---|---|
| committer | Philipp Hagemeister <phihag@phihag.de> | 2014-11-23 21:33:31 +0100 | 
| commit | 784b6d3a9bc79fe55a8b132fd10555c1e9a61c31 (patch) | |
| tree | e9a7996c44fd8d07f0bef5cdebbafdbe9c0b7bb4 /youtube_dl/extractor/defense.py | |
| parent | f3a34072266c0a7595f73fa032685cf8a50d2ab4 (diff) | |
| parent | 2514d2635e0c8ff0fb72d00a093a849001df2bdd (diff) | |
Merge remote-tracking branch 'jtwaleson/master'
Diffstat (limited to 'youtube_dl/extractor/defense.py')
| -rw-r--r-- | youtube_dl/extractor/defense.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/defense.py b/youtube_dl/extractor/defense.py index c5529f8d4..3ffed3d44 100644 --- a/youtube_dl/extractor/defense.py +++ b/youtube_dl/extractor/defense.py @@ -26,13 +26,13 @@ class DefenseGouvFrIE(InfoExtractor):          video_id = self._search_regex(              r"flashvars.pvg_id=\"(\d+)\";",              webpage, 'ID') -         +          json_url = ('http://static.videos.gouv.fr/brightcovehub/export/json/'              + video_id)          info = self._download_webpage(json_url, title,                                                    'Downloading JSON config')          video_url = json.loads(info)['renditions'][0]['url'] -         +          return {'id': video_id,                  'ext': 'mp4',                  'url': video_url,  | 
