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

测试失败 #12

Open
lihaicheng7003 opened this issue Jan 3, 2022 · 1 comment
Open

测试失败 #12

lihaicheng7003 opened this issue Jan 3, 2022 · 1 comment

Comments

@lihaicheng7003
Copy link

尝试运行了一下,总是显示用户不存在
image

@lihaicheng7003
Copy link
Author

lihaicheng7003 commented Jan 3, 2022

应该是解析网页出错了,我的理解是站酷应该是加了 JS 反扒,request 得不到 js 响应后的文件,导致无法获取 id
author_1st = BeautifulSoup(response.text, 'html.parser').find(name='div', class_='author-info')
author_1st 是空

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

1 participant