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

运行时遇到的环境问题 #11

Open
winner-4 opened this issue Nov 21, 2023 · 1 comment
Open

运行时遇到的环境问题 #11

winner-4 opened this issue Nov 21, 2023 · 1 comment

Comments

@winner-4
Copy link

作者你好,我在运行你的代码时遇到了一些环境问题,请问你有遇到过吗?该怎么解决呢?
image

@ayslks
Copy link

ayslks commented Jan 11, 2024

作者你好,我这爬取Bing的图片过程中遇到如下问题,该怎么解决?
QLayout::addChildLayout: layout "verticalLayout_2" already has a parent
QLayout::addChildLayout: layout "verticalLayout" already has a parent
QLayout::addChildLayout: layout "verticalLayout_3" already has a parent
第0/1页正在下载中...
16%|████████████▉ | 7/45 [00:07<00:42, 1.11s/it]
Traceback (most recent call last):
File "E:\Tool\imgcrawler-tool-master\imgcrawler\crawler_ui.py", line 366, in run
self.crawler.start_craw(2, _url=self.website)
File "E:\Tool\imgcrawler-tool-master\imgcrawler\crawler_func.py", line 96, in start_craw
self.download_img(url_list)
File "E:\Tool\imgcrawler-tool-master\imgcrawler\crawler_func.py", line 56, in download_img
suffix = img_url.split('.')[-1]
AttributeError: 'NoneType' object has no attribute 'split'

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