[pornhub] Add more tests with removed videos
authorSergey M․ <dstftw@gmail.com>
Thu, 30 Jun 2016 20:18:27 +0000 (03:18 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 30 Jun 2016 20:18:27 +0000 (03:18 +0700)
youtube_dl/extractor/pornhub.py

index c1694893c0e7fd159907693de57f39ab2ad8f63c..77182bf07f33a58216a07e84769779149e60833a 100644 (file)
@@ -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