From: Sergey M․ Date: Wed, 31 Dec 2014 18:11:56 +0000 (+0600) Subject: [tnaflix] Fix title extraction X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=079d1dcd8033b7c1470ad84899967d787cf1dec7;p=youtube-dl [tnaflix] Fix title extraction --- 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[\w-]+)/(?P[\w-]+)/video(?P\d+)' - _TITLE_REGEX = None + _TITLE_REGEX = r'(.+?) - TNAFlix Porn Videos' _DESCRIPTION_REGEX = r'

([^<]+)

' _CONFIG_REGEX = r'flashvars\.config\s*=\s*escape\("([^"]+)"'