1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-30 19:02:51 +08:00

[tnaflix] Do not capture cat_id

This commit is contained in:
Sergey M․ 2015-05-24 19:08:22 +06:00
parent b700055ba4
commit abac15f3c6

View 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>'