[extremetube] Revert display_id
authorSergey M․ <dstftw@gmail.com>
Wed, 17 Aug 2016 00:02:13 +0000 (07:02 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 17 Aug 2016 00:02:13 +0000 (07:02 +0700)
youtube_dl/extractor/extremetube.py

index b4fd9334aeb7f3dfc3f45ce2da67e5236d5d4018..445f9438db182d0ced6d48233306a53e56271f9d 100644 (file)
@@ -5,13 +5,12 @@ from .keezmovies import KeezMoviesIE
 
 
 class ExtremeTubeIE(KeezMoviesIE):
-    _VALID_URL = r'https?://(?:www\.)?extremetube\.com/(?:[^/]+/)?video/(?:(?P<display_id>[^/]+)-)(?P<id>\d+)'
+    _VALID_URL = r'https?://(?:www\.)?extremetube\.com/(?:[^/]+/)?video/(?P<id>[^/#?&]+)'
     _TESTS = [{
         'url': 'http://www.extremetube.com/video/music-video-14-british-euro-brit-european-cumshots-swallow-652431',
         'md5': '1fb9228f5e3332ec8c057d6ac36f33e0',
         'info_dict': {
-            'id': '652431',
-            'display_id': 'music-video-14-british-euro-brit-european-cumshots-swallow',
+            'id': 'music-video-14-british-euro-brit-european-cumshots-swallow-652431',
             'ext': 'mp4',
             'title': 'Music Video 14 british euro brit european cumshots swallow',
             'uploader': 'unknown',