ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.33k stars 10.03k forks source link

douyu issues #15379

Closed latel closed 6 years ago

latel commented 6 years ago

youtube-dl https://www.douyu.com/19223 [DouyuTV] 19223: Downloading room info [DouyuTV] 19223: Downloading video URL info Traceback (most recent call last): File "/usr/local/bin/youtube-dl", line 11, in sys.exit(main()) File "/usr/local/lib/python3.6/site-packages/youtube_dl/init.py", line 465, in main _real_main(argv) File "/usr/local/lib/python3.6/site-packages/youtube_dl/init.py", line 455, in _real_main retcode = ydl.download(all_urls) File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 1988, in download url, force_generic_extractor=self.params.get('force_generic_extractor', False)) File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 784, in extract_info ie_result = ie.extract(url) File "/usr/local/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 438, in extract ie_result = self._real_extract(url) File "/usr/local/lib/python3.6/site-packages/youtube_dl/extractor/douyutv.py", line 106, in _real_extract })['data']['live_url'] TypeError: list indices must be integers or slices, not str

yan12125 commented 6 years ago

Duplicate of #13419.