summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-01-22 03:09:21 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-22 03:09:21 +0100
commit48c63f1653e1c35f8dcb318fb51d6fc4281116ac (patch)
treeca420dbfbcb160442a74d84d2aeb43fd2bf4ea07
parent90f479b6d567ff6d7581250eec3ffd16b0f10a4d (diff)
downloadyoutube-dl-48c63f1653e1c35f8dcb318fb51d6fc4281116ac.tar.gz
youtube-dl-48c63f1653e1c35f8dcb318fb51d6fc4281116ac.tar.xz
youtube-dl-48c63f1653e1c35f8dcb318fb51d6fc4281116ac.zip
[d8] disable test; video got deleted
-rw-r--r--youtube_dl/extractor/d8.py21
1 files changed, 12 insertions, 9 deletions
diff --git a/youtube_dl/extractor/d8.py b/youtube_dl/extractor/d8.py
index a56842b16..093164122 100644
--- a/youtube_dl/extractor/d8.py
+++ b/youtube_dl/extractor/d8.py
@@ -1,22 +1,25 @@
 # encoding: utf-8
+from __future__ import unicode_literal
+
 from .canalplus import CanalplusIE
 
 
 class D8IE(CanalplusIE):
     _VALID_URL = r'https?://www\.d8\.tv/.*?/(?P<path>.*)'
     _VIDEO_INFO_TEMPLATE = 'http://service.canal-plus.com/video/rest/getVideosLiees/d8/%s'
-    IE_NAME = u'd8.tv'
+    IE_NAME = 'd8.tv'
 
     _TEST = {
-        u'url': u'http://www.d8.tv/d8-docs-mags/pid6589-d8-campagne-intime.html',
-        u'file': u'966289.flv',
-        u'info_dict': {
-            u'title': u'Campagne intime - Documentaire exceptionnel',
-            u'description': u'md5:d2643b799fb190846ae09c61e59a859f',
-            u'upload_date': u'20131108',
+        'url': 'http://www.d8.tv/d8-docs-mags/pid6589-d8-campagne-intime.html',
+        'file': '966289.flv',
+        'info_dict': {
+            'title': 'Campagne intime - Documentaire exceptionnel',
+            'description': 'md5:d2643b799fb190846ae09c61e59a859f',
+            'upload_date': '20131108',
         },
-        u'params': {
+        'params': {
             # rtmp
-            u'skip_download': True,
+            'skip_download': True,
         },
+        'skip': 'videos get deleted after a while',
     }