aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/defense.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-01-07 09:45:40 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-07 09:45:40 +0100
commitf577e0ce15adfc6c235b09a9b7a212bd5c6febda (patch)
tree441437a2b4d6310c66e7a4db3bce56e2f63ba5aa /youtube_dl/extractor/defense.py
parentbd1b906527cf9d37150091a7b1f1cbddd0a11241 (diff)
switch more to unicode_literals
Diffstat (limited to 'youtube_dl/extractor/defense.py')
-rw-r--r--youtube_dl/extractor/defense.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/youtube_dl/extractor/defense.py b/youtube_dl/extractor/defense.py
index 424d960da..6069c4538 100644
--- a/youtube_dl/extractor/defense.py
+++ b/youtube_dl/extractor/defense.py
@@ -1,3 +1,5 @@
+from __future__ import unicode_literals
+
import re
import json
@@ -10,10 +12,9 @@ class DefenseGouvFrIE(InfoExtractor):
r'ligthboxvideo/base-de-medias/webtv/(.*)')
_TEST = {
- u'url': (u'http://www.defense.gouv.fr/layout/set/ligthboxvideo/'
- u'base-de-medias/webtv/attaque-chimique-syrienne-du-21-aout-2013-1'),
- u'file': u'11213.mp4',
- u'md5': u'75bba6124da7e63d2d60b5244ec9430c',
+ 'url': 'http://www.defense.gouv.fr/layout/set/ligthboxvideo/base-de-medias/webtv/attaque-chimique-syrienne-du-21-aout-2013-1',
+ 'file': '11213.mp4',
+ 'md5': '75bba6124da7e63d2d60b5244ec9430c',
"info_dict": {
"title": "attaque-chimique-syrienne-du-21-aout-2013-1"
}