Extended regex match to include gay clips
authorMikeCol <MikeCol@gmx.net>
Fri, 18 Apr 2014 22:29:42 +0000 (00:29 +0200)
committerMikeCol <MikeCol@gmx.net>
Fri, 18 Apr 2014 22:29:42 +0000 (00:29 +0200)
youtube_dl/extractor/extremetube.py

index 1c20e43644b917d5b73b712d1630740f1a7e7e81..d7fc432877842c27b2d44e0c3150b8edcd9dd394 100644 (file)
@@ -9,7 +9,7 @@ from ..utils import (
 )
 
 class ExtremeTubeIE(InfoExtractor):
-    _VALID_URL = r'^(?:https?://)?(?:www\.)?(?P<url>extremetube\.com/video/.+?(?P<videoid>[0-9]+))(?:[/?&]|$)'
+    _VALID_URL = r'^(?:https?://)?(?:www\.)?(?P<url>extremetube\.com/.*?video/.+?(?P<videoid>[0-9]+))(?:[/?&]|$)'
     _TEST = {
         u'url': u'http://www.extremetube.com/video/music-video-14-british-euro-brit-european-cumshots-swallow-652431',
         u'file': u'652431.mp4',