youtube-dlc icon indicating copy to clipboard operation
youtube-dlc copied to clipboard

all-subs options throw error

Open quekky opened this issue 3 years ago • 4 comments

Checklist

  • [x ] I'm reporting a broken site support issue
  • [x ] I've verified that I'm running youtube-dlc version 2020.09.14
  • [x ] I've checked that all provided URLs are alive and playable in a browser
  • [x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • [x ] I've searched the bugtracker for similar bug reports including closed ones
  • [x ] I've read bugs section in FAQ

Verbose log

youtube-dlc -v --write-sub --convert-subs srt --all-subs --embed-subs --add-metadata F8Nack_25vE
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--write-sub', '--convert-subs', 'srt', '--all-subs', '--embed-subs', '--add-metadata', 'F8Nack_25vE']
[debug] Loading archive file None
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dlc version 2020.09.30
[debug] Python version 3.8.5 (CPython) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg git-2020-08-28-ccc7120, ffprobe git-2020-08-28-ccc7120
[debug] Proxy map: {}
[youtube] F8Nack_25vE: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: Michael Ball - Past & Present Tour - FULL SHOW _ The Shows Must Go On-F8Nack_25vE.en.vtt
[info] Writing video subtitles to: Michael Ball - Past & Present Tour - FULL SHOW _ The Shows Must Go On-F8Nack_25vE.live_chat.json
Traceback (most recent call last):
  File "youtube_dlc\__main__.py", line 19, in <module>
  File "youtube_dlc\__init__.py", line 487, in main
  File "youtube_dlc\__init__.py", line 477, in _real_main
  File "youtube_dlc\YoutubeDL.py", line 2095, in download
  File "youtube_dlc\YoutubeDL.py", line 841, in extract_info
  File "youtube_dlc\YoutubeDL.py", line 896, in process_ie_result
  File "youtube_dlc\YoutubeDL.py", line 1691, in process_video_result
  File "youtube_dlc\YoutubeDL.py", line 1893, in process_info
KeyError: 'url'
[8044] Failed to execute script __main__

Description

If I remove the "--all-subs" option, there's no error and file downloads fine

quekky avatar Oct 04 '20 05:10 quekky