Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

没保存到输出目录 #1

Open
gaodyoffice opened this issue May 18, 2024 · 19 comments
Open

没保存到输出目录 #1

gaodyoffice opened this issue May 18, 2024 · 19 comments

Comments

@gaodyoffice
Copy link

输出日志
2024-05-18 22:57:40,686 - D:\apps\github\tmdb-person\utils\scrape.py[line:46] - INFO: 当前解析的演员信息: {'name': '沈腾', 'role': '张驰', 'order': '0', 'sortorder': '1', 'thumb': 'https://image.tmdb.org/t/p/w500/izBP24vtW6xR4JBtUK67ToZEltV.jpg', 'actors': []}
请问如何解决?

@carolcoral
Copy link
Owner

看看你的相关配置呢,用的是多线程那个还是单线程的

@gaodyoffice
Copy link
Author

单线程和多线程都试了,输出结果都是这个。

@carolcoral
Copy link
Owner

单线程和多线程都试了,输出结果都是这个。

这个输出结果是没问题的,只是表示当前刮削到什么内容而已,INFO级别的,并不是ERROR,你可以把你完整的、详细的配置贴出来看看

@gaodyoffice
Copy link
Author

image
我只修改了这三个参数。

@carolcoral
Copy link
Owner

能不能麻烦录屏全程操作呢,看参数应该是没问题的

@gaodyoffice
Copy link
Author

image
就这样运行的呀。

@carolcoral
Copy link
Owner

麻烦从运行到结束,到后面的生成目录,都截屏看看呢

@carolcoral
Copy link
Owner

看看输出路径是不是已经存在了,只有解析,没有刮削

@gaodyoffice
Copy link
Author

image
image
刮削目录修改为飞驰人生2

@gaodyoffice
Copy link
Author

输出路径是我自己设置的,但是空的,没文件。

@carolcoral
Copy link
Owner

carolcoral commented May 20, 2024

image

应该是编码错误,新代码我提交了,你从这个路径去重新pull下吧,github有点问题,一直没法提交上来:https://gitea.cnkj.site/gitea/tmdb-person

@gaodyoffice
Copy link
Author

好的,感谢。

@carolcoral
Copy link
Owner

@gaodyoffice 可以从github重新pull了,提交上来了

@gaodyoffice
Copy link
Author

image
我这还是不行,还是和原来一样,明天换了机器试试吧,你看看我这是不是库不全呀,我执行的是pip3 install -r requirements.txt

@carolcoral
Copy link
Owner

库补全会有提醒的,会提示缺少xx包,可能是你机器的问题,我在windows、linux、mac上都试过了 /😂

@gaodyoffice
Copy link
Author

换了系统重新git,执行mian.py没问题,正常刮削,但是多线程报错,不清楚怎么回事;不过没事有得用就行了。

@carolcoral
Copy link
Owner

@gaodyoffice 可以把报错详细内容贴上来,我看看

@gaodyoffice
Copy link
Author

@gaodyoffice 可以把报错详细内容贴上来,我看看

image
同样的配置

@gaodyoffice
Copy link
Author

copy到另一台电脑运行,同样的问题。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants