[tube8] Improved regex
authormegustamucho <megustamucho@users.noreply.github.com>
Tue, 9 Sep 2014 02:46:58 +0000 (12:46 +1000)
committermegustamucho <megustamucho@users.noreply.github.com>
Tue, 9 Sep 2014 03:05:14 +0000 (13:05 +1000)
youtube_dl/extractor/tube8.py

index 08a48c05acf34b6cd190ba52d58189935fe6b20f..39f20c54688e9371f5a299e04b84919de2db4f4e 100644 (file)
@@ -14,7 +14,7 @@ from ..aes import aes_decrypt_text
 
 
 class Tube8IE(InfoExtractor):
-    _VALID_URL = r'https?://(?:www\.)?tube8\.com/(?:[^/]+/){2}(?P<id>\d+)'
+    _VALID_URL = r'https?://(?:www\.)?tube8\.com/(?:gay/|shemale/)?(?:[^/]+/){2}(?P<id>\d+)'
     _TEST = {
         'url': 'http://www.tube8.com/teen/kasia-music-video/229795/',
         'md5': '44bf12b98313827dd52d35b8706a4ea0',