aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/defense.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2015-02-21 14:55:13 +0100
committerPhilipp Hagemeister <[email protected]>2015-02-21 14:55:13 +0100
commit8fb3ac3649ca7df6f328971f58afa84dd9d05cc6 (patch)
treec6523ec060f7c6410aeac064f48a3f28fbb78196 /youtube_dl/extractor/defense.py
parent77b2986b5b0246234b72ae9dd78fb40f9d37374f (diff)
downloadyoutube-dl-8fb3ac3649ca7df6f328971f58afa84dd9d05cc6.tar.gz
youtube-dl-8fb3ac3649ca7df6f328971f58afa84dd9d05cc6.zip
PEP8: W503
Diffstat (limited to 'youtube_dl/extractor/defense.py')
-rw-r--r--youtube_dl/extractor/defense.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/defense.py b/youtube_dl/extractor/defense.py
index 2b90bf4fc..98e3aedfd 100644
--- a/youtube_dl/extractor/defense.py
+++ b/youtube_dl/extractor/defense.py
@@ -25,8 +25,9 @@ class DefenseGouvFrIE(InfoExtractor):
r"flashvars.pvg_id=\"(\d+)\";",
webpage, 'ID')
- json_url = ('http://static.videos.gouv.fr/brightcovehub/export/json/'
- + video_id)
+ json_url = (
+ 'http://static.videos.gouv.fr/brightcovehub/export/json/%s' %
+ video_id)
info = self._download_json(json_url, title, 'Downloading JSON config')
video_url = info['renditions'][0]['url']