commit: eaaaaec042f8e6afa8f8ec6a2a8b137943f802df
parent 3cb3b60064fc8d99a8175b751000892b141e8de0
Author: Sergey M․ <dstftw@gmail.com>
Date: Fri, 1 Jul 2016 03:18:27 +0700
[pornhub] Add more tests with removed videos
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git 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