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

爬取出错 #5

Open
RubyHoho opened this issue Dec 19, 2020 · 2 comments
Open

爬取出错 #5

RubyHoho opened this issue Dec 19, 2020 · 2 comments

Comments

@RubyHoho
Copy link

RubyHoho commented Dec 19, 2020

请问大家命令行这样出错是什么原因,怎么改呢?

-bash-3.2$ nsfc search -c H -y 2019 -o out [2020-12-19 11:09:59 NSFC search DEBUG MainThread:72] input arguments: {'codes': 'H', 'years': '2019', 'outfile': 'out', 'projects': None, 'outtype': 'xlsx', 'type': 'Z'} [2020-12-19 11:09:59 NSFC search DEBUG MainThread:84] >>> crawling: H0101 - 2019 - 630 right captcha: 655n {'code': 'H0101', 'projectType': '630', 'conclusionYear': '', 'ratifyYear': '2019', 'ratifyNo': '', 'projectName': '', 'personInCharge': '', 'dependUnit': '', 'keywords': '', 'subPType': '', 'psPType': '', 'pageNum': 0, 'pageSize': 10, 'beginYear': '', 'endYear': '', 'adminID': '', 'checkDep': '', 'checkType': '', 'quickQueryInput': '', 'queryType': 'input', 'complete': '', 'tryCode': '655n'} error code: {"code": 500, "data": null, "message": "请正确输入检索条件"}

@RubyHoho RubyHoho reopened this Dec 19, 2020
@suqingdong
Copy link
Owner

网站更新的原因,目前只能进行结题项目检索,可更新nsfc至最新版本

pip install -U nsfc==1.0.5

@realhht
Copy link

realhht commented Jan 15, 2021

网站更新了,必须输入责任人,负责单位,年份,目前还没发现怎么解决
另外作者提到的验证码问题,其实可以不用验证码识别也可以绕过去的,应该是他们一个bug。

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

3 participants