Closed zxb-zxb closed 1 year ago
File "C:\Users\v-xubozhao\AppData\Local\Programs\Python\Python39\lib\site-packages\gallery_dl\downloader\common.py", line 20, in init self.out = job["out"]
This is not what the code in this repo looks like. https://github.com/mikf/gallery-dl/blob/a918ce29b5dd16f9e79f53916fee9f501e53ca52/gallery_dl/downloader/common.py#L20
[gallery-dl][debug] Version 1.24.2 [gallery-dl][debug] Python 3.9.10 - Windows-10-10.0.22621-SP0 [gallery-dl][debug] requests 2.27.1 - urllib3 1.26.8 [gallery-dl][debug] Configuration Files [] [gallery-dl][debug] Starting DownloadJob for 'http://i0.hdslb.com/bfs/archive/ebf5b294a41c03ed66a6b08319e239bade8f705a.jpg' [directlink][debug] Using DirectlinkExtractor for 'http://i0.hdslb.com/bfs/archive/ebf5b294a41c03ed66a6b08319e239bade8f705a.jpg' [directlink][error] An unexpected error occurred: TypeError - 'DownloadJob' object is not subscriptable. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues . [directlink][debug] Traceback (most recent call last): File "C:\Users\v-xubozhao\AppData\Local\Programs\Python\Python39\lib\site-packages\gallery_dl\job.py", line 92, in run self.dispatch(msg) File "C:\Users\v-xubozhao\AppData\Local\Programs\Python\Python39\lib\site-packages\gallery_dl\job.py", line 136, in dispatch self.handle_url(url, kwdict) File "C:\Users\v-xubozhao\AppData\Local\Programs\Python\Python39\lib\site-packages\gallery_dl\job.py", line 258, in handle_url if not self.download(url): File "C:\Users\v-xubozhao\AppData\Local\Programs\Python\Python39\lib\site-packages\gallery_dl\job.py", line 387, in download downloader = self.get_downloader(scheme) File "C:\Users\v-xubozhao\AppData\Local\Programs\Python\Python39\lib\site-packages\gallery_dl\job.py", line 408, in get_downloader instance = cls(self) File "C:\Users\v-xubozhao\AppData\Local\Programs\Python\Python39\lib\site-packages\gallery_dl\downloader\http.py", line 28, in init DownloaderBase.init(self, job) File "C:\Users\v-xubozhao\AppData\Local\Programs\Python\Python39\lib\site-packages\gallery_dl\downloader\common.py", line 20, in init self.out = job["out"] TypeError: 'DownloadJob' object is not subscriptable