Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
String indices must be integers #22873
Comments
|
Bother to read new issue template. |
If you close my issue, please
indicate the reason. Now I got the full error log
When I download some videos for example https://vk.com/video-180375381_456240558 there are occures an error String indices must be integers, error log below. Can you fix it? I use the latest version of youtube-dl in Python 3.7
Error log
Traceback (most recent call last):
File "/home/max/.local/bin/youtube-dl", line 10, in
sys.exit(main())
File "/home/max/.local/lib/python3.7/site-packages/youtube_dl/init.py", line 474, in main
_real_main(argv)
File "/home/max/.local/lib/python3.7/site-packages/youtube_dl/init.py", line 464, in _real_main
retcode = ydl.download(all_urls)
File "/home/max/.local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2018, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/home/max/.local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "/home/max/.local/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "/home/max/.local/lib/python3.7/site-packages/youtube_dl/extractor/vk.py", line 416, in _real_extract
video_id)['payload'][-1][-1]['player']['params'][0]
TypeError: string indices must be integers