diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-08-07 15:57:42 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-08-07 16:00:03 +0700 |
commit | b47a75017bc4b4739ccebb3e8bde0642981968b0 (patch) | |
tree | 3916f7a0fa57fa758c90d475016f2a03d3a71e22 /youtube_dl | |
parent | e37b54b140c552ee3d751b868ecc0a71df13829f (diff) |
[tnaflix] Fix metadata extraction (Closes #10249)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/tnaflix.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/tnaflix.py b/youtube_dl/extractor/tnaflix.py index 78174178e..74a0c8f17 100644 --- a/youtube_dl/extractor/tnaflix.py +++ b/youtube_dl/extractor/tnaflix.py @@ -189,9 +189,9 @@ class TNAFlixNetworkEmbedIE(TNAFlixNetworkBaseIE): class TNAFlixIE(TNAFlixNetworkBaseIE): _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'<meta[^>]+name="description"[^>]+content="([^"]+)"' - _UPLOADER_REGEX = r'<i>\s*Verified Member\s*</i>\s*<h1>(.+?)</h1>' + _TITLE_REGEX = r'<title>(.+?) - (?:TNAFlix Porn Videos|TNAFlix\.com)</title>' + _DESCRIPTION_REGEX = r'(?s)>Description:</[^>]+>(.+?)<' + _UPLOADER_REGEX = r'<i>\s*Verified Member\s*</i>\s*<h\d+>(.+?)<' _CATEGORIES_REGEX = r'(?s)<span[^>]*>Categories:</span>(.+?)</div>' _TESTS = [{ |