Ver Fonte

[pornhub] Add more tests with removed videos

Sergey M․ há 9 anos atrás
pai
commit
eaaaaec042
1 ficheiros alterados com 9 adições e 0 exclusões
  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