projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b24bbd
)
[tnaflix] Fix title extraction
author
Sergey M․
<dstftw@gmail.com>
Wed, 31 Dec 2014 18:11:56 +0000
(
00:11
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 31 Dec 2014 18:11:56 +0000
(
00:11
+0600)
youtube_dl/extractor/tnaflix.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/tnaflix.py
b/youtube_dl/extractor/tnaflix.py
index 0ecd695f85e6a40929501fb6adc40bace8784d42..b9179ca8089d1a05dc5e2b2c9bacdfc0cfbf9701 100644
(file)
--- 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\("([^"]+)"'