aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-01-01 00:11:56 +0600
committerSergey M․ <dstftw@gmail.com>2015-01-01 00:11:56 +0600
commit079d1dcd8033b7c1470ad84899967d787cf1dec7 (patch)
tree5acc968ca5046f350e03a6151a4fa7aca171f703
parent7b24bbdf49f4ad17a1cb134f9bf6a1075cb3f655 (diff)
[tnaflix] Fix title extraction
-rw-r--r--youtube_dl/extractor/tnaflix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/tnaflix.py b/youtube_dl/extractor/tnaflix.py
index 0ecd695f8..b9179ca80 100644
--- a/youtube_dl/extractor/tnaflix.py
+++ b/youtube_dl/extractor/tnaflix.py
@@ -12,7 +12,7 @@ from ..utils import (
class TNAFlixIE(InfoExtractor):
_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>'
_CONFIG_REGEX = r'flashvars\.config\s*=\s*escape\("([^"]+)"'