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