Skip to content

请教两个下载封面图片失败的问题 #263

Answered by qicfan
moefive asked this question in 问答 | Q&A
Discussion options

You must be logged in to vote

这是个BUG,着急用的话,可以使用源码运行,将根目录./JavSP.py的501到533行修改为下面的代码即可,主要每一行前面的空格都要原样复制。

            if ('cover' in cfg.Crawler.required_keys):
                inner_bar.set_description('下载封面图片')
                if cfg.Picture.use_big_cover:
                    cover_dl = download_cover(movie.info.covers, movie.fanart_file, movie.info.big_covers)
                else:
                    cover_dl = download_cover(movie.info.covers, movie.fanart_file)
                check_step(cover_dl, '下载封面图片失败')
                cover, pic_path = cover_dl
                # 确保实际下载的封面的url与即将写入到movie.info中的一致
                if cover != movie.info.cover:
                    movie.info.cover = cover
                # 根据实际…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@moefive
Comment options

Answer selected by moefive
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants