aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-07-01 03:18:27 +0700
committerSergey M․ <dstftw@gmail.com>2016-07-01 03:18:27 +0700
commiteaaaaec042f8e6afa8f8ec6a2a8b137943f802df (patch)
tree8154b6434710d502f014a844b046a41c779b5bf6
parent3cb3b60064fc8d99a8175b751000892b141e8de0 (diff)
downloadyoutube-dl-eaaaaec042f8e6afa8f8ec6a2a8b137943f802df.tar.xz
[pornhub] Add more tests with removed videos
-rw-r--r--youtube_dl/extractor/pornhub.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/youtube_dl/extractor/pornhub.py b/youtube_dl/extractor/pornhub.py
index c1694893c..77182bf07 100644
--- a/youtube_dl/extractor/pornhub.py
+++ b/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