no auto subs
This commit is contained in:
parent
918ecc5df4
commit
8ad2641815
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,6 @@ class GetYoutubeVideos:
|
||||||
'temp': '/tmp',
|
'temp': '/tmp',
|
||||||
'home': download_dir
|
'home': download_dir
|
||||||
},
|
},
|
||||||
'writeautomaticsub': True,
|
|
||||||
'writeannotations': True,
|
'writeannotations': True,
|
||||||
'write_all_thumbnails': False,
|
'write_all_thumbnails': False,
|
||||||
'writethumbnail': True,
|
'writethumbnail': True,
|
||||||
|
@ -386,6 +385,7 @@ class GetYoutubeVideos:
|
||||||
ydl_opts['subtitleslangs'] = downloadable_subtitles
|
ydl_opts['subtitleslangs'] = downloadable_subtitles
|
||||||
ydl_opts['subtitlesformat'] = 'srt'
|
ydl_opts['subtitlesformat'] = 'srt'
|
||||||
ydl_opts['writesubtitles'] = True
|
ydl_opts['writesubtitles'] = True
|
||||||
|
ydl_opts['writeautomaticsub'] = True
|
||||||
if self.selected_proxy != '':
|
if self.selected_proxy != '':
|
||||||
ydl_opts['proxy'] = self.selected_proxy
|
ydl_opts['proxy'] = self.selected_proxy
|
||||||
download_result = 'starting'
|
download_result = 'starting'
|
||||||
|
|
Loading…
Reference in a new issue