projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8b13fe
)
[pornhub] Fix typo (Closes #9008)
author
Sergey M․
<dstftw@gmail.com>
Sun, 27 Mar 2016 19:21:44 +0000
(
01:21
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 27 Mar 2016 19:21:44 +0000
(
01:21
+0600)
youtube_dl/extractor/pornhub.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pornhub.py
b/youtube_dl/extractor/pornhub.py
index ac298d0ce95527d14482abafa20c0d82f490f57d..407ea08d4350b52666150e2784652535625c5e31 100644
(file)
--- a/
youtube_dl/extractor/pornhub.py
+++ b/
youtube_dl/extractor/pornhub.py
@@
-78,7
+78,7
@@
class PornHubIE(InfoExtractor):
flashvars = self._parse_json(
self._search_regex(
- r'var\s+flashv
1
ars_\d+\s*=\s*({.+?});', webpage, 'flashvars', default='{}'),
+ r'var\s+flashvars_\d+\s*=\s*({.+?});', webpage, 'flashvars', default='{}'),
video_id)
if flashvars:
video_title = flashvars.get('video_title')