1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-23 08:26:50 +00:00

[pornhub] Fix typo (Closes #9008)

This commit is contained in:
Sergey M․ 2016-03-28 01:21:44 +06:00
parent c8b13fec02
commit 03442072c0

View File

@ -78,7 +78,7 @@ class PornHubIE(InfoExtractor):
flashvars = self._parse_json( flashvars = self._parse_json(
self._search_regex( 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) video_id)
if flashvars: if flashvars:
video_title = flashvars.get('video_title') video_title = flashvars.get('video_title')