From: Sergey M․ Date: Sun, 27 Mar 2016 19:21:44 +0000 (+0600) Subject: [pornhub] Fix typo (Closes #9008) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=03442072c0890f10043d1de25dc3c3fcaf10f4eb;p=youtube-dl [pornhub] Fix typo (Closes #9008) --- 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')