aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-28 01:21:44 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-28 01:21:44 +0600
commit03442072c0890f10043d1de25dc3c3fcaf10f4eb (patch)
tree666d401166d32d897a45d2f65f1c7326cfd79753 /youtube_dl/extractor
parentc8b13fec025bcb7402656095df369ad3f3225ac6 (diff)
[pornhub] Fix typo (Closes #9008)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/pornhub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/pornhub.py b/youtube_dl/extractor/pornhub.py
index ac298d0ce..407ea08d4 100644
--- 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+flashv1ars_\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')