浏览代码

[pornhub] Add more tests with removed videos

Sergey M․ 9 年之前
父节点
当前提交
eaaaaec042
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      youtube_dl/extractor/pornhub.py

+ 9 - 0
youtube_dl/extractor/pornhub.py

@@ -63,8 +63,17 @@ class PornHubIE(InfoExtractor):
         'url': 'http://www.pornhub.com/view_video.php?viewkey=ph557bbb6676d2d',
         'only_matching': True,
     }, {
+        # removed at the request of cam4.com
         'url': 'http://fr.pornhub.com/view_video.php?viewkey=ph55ca2f9760862',
         'only_matching': True,
+    }, {
+        # removed at the request of the copyright owner
+        'url': 'http://www.pornhub.com/view_video.php?viewkey=788152859',
+        'only_matching': True,
+    }, {
+        # removed by uploader
+        'url': 'http://www.pornhub.com/view_video.php?viewkey=ph572716d15a111',
+        'only_matching': True,
     }]
 
     @classmethod