]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[pornhub] Move test to correct place
authorSergey M․ <dstftw@gmail.com>
Sun, 18 Nov 2018 04:14:46 +0000 (11:14 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 18 Nov 2018 04:14:46 +0000 (11:14 +0700)
youtube_dl/extractor/pornhub.py

index 7ee64dbf60f1e9e39e31128f3c6bc23cc598aff5..c9c8840954a91f8be9f988955e3199f539d18526 100644 (file)
@@ -121,6 +121,9 @@ class PornHubIE(InfoExtractor):
     }, {
         'url': 'http://www.pornhub.com/video/show?viewkey=648719015',
         'only_matching': True,
+    }, {
+        'url': 'https://www.pornhub.net/view_video.php?viewkey=203640933',
+        'only_matching': True,
     }]
 
     @staticmethod
@@ -393,9 +396,6 @@ class PornHubUserVideosIE(PornHubPlaylistBaseIE):
     }, {
         'url': 'https://www.pornhub.com/pornstar/jenny-blighe/videos/upload',
         'only_matching': True,
-    }, {
-        'url': 'https://www.pornhub.net/view_video.php?viewkey=203640933',
-        'only_matching': True,
     }]
 
     def _real_extract(self, url):