瀏覽代碼

[tf1] fix test

t0mm0 10 年之前
父節點
當前提交
2bf098eda4
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      youtube_dl/extractor/tf1.py

+ 3 - 2
youtube_dl/extractor/tf1.py

@@ -24,10 +24,11 @@ class TF1IE(InfoExtractor):
     }, {
     }, {
         'url': 'http://www.tfou.fr/chuggington/videos/le-grand-mysterioso-chuggington-7085291-739.html',
         'url': 'http://www.tfou.fr/chuggington/videos/le-grand-mysterioso-chuggington-7085291-739.html',
         'info_dict': {
         'info_dict': {
-            'id': '7085291',
+            'id': '12043945',
             'ext': 'mp4',
             'ext': 'mp4',
             'title': 'Le grand Mystérioso - Chuggington',
             'title': 'Le grand Mystérioso - Chuggington',
-            'description': 'Emery rêve qu\'un article lui soit consacré dans le journal.',
+            'description': 'Le grand Mystérioso - Emery rêve qu\'un article lui soit consacré dans le journal.',
+            'upload_date': '20150103',
         },
         },
         'params': {
         'params': {
             # Sometimes wat serves the whole file with the --test option
             # Sometimes wat serves the whole file with the --test option