aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-08-17 07:02:13 +0700
committerSergey M․ <dstftw@gmail.com>2016-08-17 07:02:13 +0700
commitb505e98784b2c1cc07f734e9709702ee9d01287e (patch)
tree7d9027368e2c31efb98ef7fd2c6dc487207c8bc7
parent92cd9fd56574f22087a8f8df52192df1d4c11a21 (diff)
[extremetube] Revert display_id
-rw-r--r--youtube_dl/extractor/extremetube.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/youtube_dl/extractor/extremetube.py b/youtube_dl/extractor/extremetube.py
index b4fd9334a..445f9438d 100644
--- a/youtube_dl/extractor/extremetube.py
+++ b/youtube_dl/extractor/extremetube.py
@@ -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',