]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[tnaflix] Do not capture `cat_id`
authorSergey M․ <dstftw@gmail.com>
Sun, 24 May 2015 13:08:22 +0000 (19:08 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 24 May 2015 13:11:31 +0000 (19:11 +0600)
youtube_dl/extractor/tnaflix.py

index 79496039d0adc48dbd6b0f647a96e6a38d37b3a1..59af9aba06399cefcc6c2049c958dfb3819bb20a 100644 (file)
@@ -10,7 +10,7 @@ from ..utils import (
 
 
 class TNAFlixIE(InfoExtractor):
-    _VALID_URL = r'https?://(?:www\.)?tnaflix\.com/(?P<cat_id>[^/]+)/(?P<display_id>[^/]+)/video(?P<id>\d+)'
+    _VALID_URL = r'https?://(?:www\.)?tnaflix\.com/[^/]+/(?P<display_id>[^/]+)/video(?P<id>\d+)'
 
     _TITLE_REGEX = r'<title>(.+?) - TNAFlix Porn Videos</title>'
     _DESCRIPTION_REGEX = r'<h3 itemprop="description">([^<]+)</h3>'