]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[eporner] Make test only_matching
authorSergey M․ <dstftw@gmail.com>
Wed, 25 May 2016 14:51:17 +0000 (20:51 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 25 May 2016 14:51:17 +0000 (20:51 +0600)
youtube_dl/extractor/eporner.py

index 581276694dcb996162f7ea13e010330a1b8888e0..ac5d0fe2426a8e3fb213b2bb6d8f59fa8acc5fba 100644 (file)
@@ -24,20 +24,10 @@ class EpornerIE(InfoExtractor):
             'view_count': int,
             'age_limit': 18,
         },
-    },
-    # New (May 2016) URL layout
-    {
+    }, {
+        # New (May 2016) URL layout
         'url': 'http://www.eporner.com/hd-porn/3YRUtzMcWn0/Star-Wars-XXX-Parody/',
-        'md5': '3469eeaa93b6967a34cdbdbb9d064b33',
-        'info_dict': {
-            'id': '3YRUtzMcWn0',
-            'display_id': 'Star-Wars-XXX-Parody',
-            'ext': 'mp4',
-            'title': 'Star Wars XXX Parody',
-            'duration': 361.0,
-            'view_count': int,
-            'age_limit': 18,
-        },
+        'only_matching': True,
     }]
 
     def _real_extract(self, url):