Explorar el Código

[pornhub] Move test to correct place

Sergey M․ hace 6 años
padre
commit
f97c099131
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      youtube_dl/extractor/pornhub.py

+ 3 - 3
youtube_dl/extractor/pornhub.py

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