[tnaflix] Fix title extraction

This commit is contained in:
Sergey M․ 2015-01-01 00:11:56 +06:00
parent 7b24bbdf49
commit 079d1dcd80
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ from ..utils import (
class TNAFlixIE(InfoExtractor): class TNAFlixIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?tnaflix\.com/(?P<cat_id>[\w-]+)/(?P<display_id>[\w-]+)/video(?P<id>\d+)' _VALID_URL = r'https?://(?:www\.)?tnaflix\.com/(?P<cat_id>[\w-]+)/(?P<display_id>[\w-]+)/video(?P<id>\d+)'
_TITLE_REGEX = None _TITLE_REGEX = r'<title>(.+?) - TNAFlix Porn Videos</title>'
_DESCRIPTION_REGEX = r'<h3 itemprop="description">([^<]+)</h3>' _DESCRIPTION_REGEX = r'<h3 itemprop="description">([^<]+)</h3>'
_CONFIG_REGEX = r'flashvars\.config\s*=\s*escape\("([^"]+)"' _CONFIG_REGEX = r'flashvars\.config\s*=\s*escape\("([^"]+)"'