mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-10 21:57:15 +08:00
Update pornhub.py
This commit is contained in:
parent
433f3e6f0e
commit
48291dd8da
@ -173,7 +173,7 @@ class PornHubIE(InfoExtractor):
|
||||
video_id)
|
||||
if flashvars:
|
||||
subtitle_url = url_or_none(flashvars.get('closedCaptionsFile'))
|
||||
if subtitle_url is not None:
|
||||
if subtitle_url:
|
||||
subtitles.setdefault('en', []).append({
|
||||
'url': subtitle_url,
|
||||
'ext': 'srt',
|
||||
|
Loading…
x
Reference in New Issue
Block a user