-
Notifications
You must be signed in to change notification settings - Fork 149
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
无法正常检索论文 #15
Comments
是的是的,我也是提示这个,检索不了。 |
我也遇到了这个问题 |
同问 |
应该是post 坏了,first_post_res返回是 |
所有url改为https即可 |
@braindevices 谢谢! 不报错了 |
@caichen1234567 请问这个工程你可以完全用了吗? 我这边遇到了一些问题,你可以帮忙看一下吗? |
并不能完全用,需要修改
…---原始邮件---
发件人: "songyadong106"<[email protected]>
发送时间: 2020年12月17日(周四) 下午5:35
收件人: "CyrusRenty/CNKI-download"<[email protected]>;
抄送: "Mention"<[email protected]>;"caichen1234567"<[email protected]>;
主题: Re: [CyrusRenty/CNKI-download] 无法正常检索论文 (#15)
@caichen1234567 请问这个工程你可以完全用了吗? 我这边遇到了一些问题,你可以帮忙看一下吗?
File "main.py", line 99, in search_reference
self.pre_parse_page(second_get_res.text), second_get_res.text)
File "main.py", line 188, in parse_page
self.download_url)
File "D:\paper_search_program\CNKI-download-master\GetPageDetail.py", line 73, in get_detail_page
params=params)
File "D:\anaconda3\lib\site-packages\requests\sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "D:\anaconda3\lib\site-packages\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "D:\anaconda3\lib\site-packages\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "D:\anaconda3\lib\site-packages\requests\adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='i.shufang.cnki.net', port=443): Max retries exceeded with url: /KRS/KRSWriteHandler.ashx?referUrl=https%3A%2F%2Fkns.cnki.net%2Fkns%2Fbrief%2Fbrief.aspx%3Fpagename%3DASP.brief_default_result_aspx%26isinEn%3D1%26dbPrefix%3DSCDB%26dbCatalog%3D%25e4%25b8%25ad%25e5%259b%25bd%25e5%25ad%25a6%25e6%259c%25af%25e6%259c%259f%25e5%2588%258a%25e7%25bd%2591%25e7%25bb%259c%25e5%2587%25ba%25e7%2589%2588%25e6%2580%25bb%25e5%25ba%2593%26ConfigFile%3DCJFQ.xml%26research%3Doff%26t%3D1544249384932%26keyValue%3Dpython%26S%3D1%26sorttype%3D%23J_ORDER%26&td=1544605318654&action=file&cnkiUserKey=4e65cf99-0cd7-1bfb-6138-508ac27517e&curUrl=detail.aspx%3FdbCode%3DCJFQ%26fileName%3DXTYY202012037&userName= (Caused by SSLError(CertificateError("hostname 'i.shufang.cnki.net' doesn't match either of '.cnki.net', 'www.cnki.net', '.global.cnki.net', '*.oversea.cnki.net', 'big5.book.oversea.cnki.net', 'caj.d.cnki.net', 'caj.oversea.d.cnki.net', 'en.cend.cnki.net', 'eng.tcm.cnki.net', 'gb.book.oversea.cnki.net', 'gb.cend.cnki.net', 'gb.cnbar.cnki.net', 'gb.obaor.cnki.net', 'gb.sczlmz.cnki.net', 'gb.sczlzj.cnki.net', 'gb.tcm.cnki.net', 'kb.tcm.cnki.net', 'oversea.d.cnki.net', 'pdf.d.cnki.net', 'pdf.oversea.d.cnki.net', 'tra.tcm.cnki.net', 'cnki.net'",),))
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
还是报错 |
请问一下要怎么修改呢? |
不清楚,没有改成功 |
好的,谢谢~
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2021年10月7日(星期四) 中午1:49
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [CyrusRenty/CNKI-download] 无法正常检索论文 (#15)
并不能完全用,需要修改
…
---原始邮件--- 发件人: ***@***.***> 发送时间: 2020年12月17日(周四) 下午5:35 收件人: ***@***.***>; 抄送: ***@***.******@***.***>; 主题: Re: [CyrusRenty/CNKI-download] 无法正常检索论文 (#15) @caichen1234567 请问这个工程你可以完全用了吗? 我这边遇到了一些问题,你可以帮忙看一下吗? File "main.py", line 99, in search_reference self.pre_parse_page(second_get_res.text), second_get_res.text) File "main.py", line 188, in parse_page self.download_url) File "D:\paper_search_program\CNKI-download-master\GetPageDetail.py", line 73, in get_detail_page params=params) File "D:\anaconda3\lib\site-packages\requests\sessions.py", line 546, in get return self.request('GET', url, **kwargs) File "D:\anaconda3\lib\site-packages\requests\sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "D:\anaconda3\lib\site-packages\requests\sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "D:\anaconda3\lib\site-packages\requests\adapters.py", line 514, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='i.shufang.cnki.net', port=443): Max retries exceeded with url: /KRS/KRSWriteHandler.ashx?referUrl=https%3A%2F%2Fkns.cnki.net%2Fkns%2Fbrief%2Fbrief.aspx%3Fpagename%3DASP.brief_default_result_aspx%26isinEn%3D1%26dbPrefix%3DSCDB%26dbCatalog%3D%25e4%25b8%25ad%25e5%259b%25bd%25e5%25ad%25a6%25e6%259c%25af%25e6%259c%259f%25e5%2588%258a%25e7%25bd%2591%25e7%25bb%259c%25e5%2587%25ba%25e7%2589%2588%25e6%2580%25bb%25e5%25ba%2593%26ConfigFile%3DCJFQ.xml%26research%3Doff%26t%3D1544249384932%26keyValue%3Dpython%26S%3D1%26sorttype%3D%23J_ORDER%26&td=1544605318654&action=file&cnkiUserKey=4e65cf99-0cd7-1bfb-6138-508ac27517e&curUrl=detail.aspx%3FdbCode%3DCJFQ%26fileName%3DXTYY202012037&userName= (Caused by SSLError(CertificateError("hostname 'i.shufang.cnki.net' doesn't match either of '.cnki.net', 'www.cnki.net', '.global.cnki.net', '*.oversea.cnki.net', 'big5.book.oversea.cnki.net', 'caj.d.cnki.net', 'caj.oversea.d.cnki.net', 'en.cend.cnki.net', 'eng.tcm.cnki.net', 'gb.book.oversea.cnki.net', 'gb.cend.cnki.net', 'gb.cnbar.cnki.net', 'gb.obaor.cnki.net', 'gb.sczlmz.cnki.net', 'gb.sczlzj.cnki.net', 'gb.tcm.cnki.net', 'kb.tcm.cnki.net', 'oversea.d.cnki.net', 'pdf.d.cnki.net', 'pdf.oversea.d.cnki.net', 'tra.tcm.cnki.net', 'cnki.net'",),)) — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
请问一下要怎么修改呢?
不清楚,没有改成功
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
--------------------------
| |
| 请选择检索条件:(可多选) |
|(a)主题 (b)关键词 (c)篇名 |
|(d)摘要 (e)全文 (f)被引文献 |
|(g)中图分类号 |
| |
--------------------------
请选择(以空格分割,如a c):c
--------------------------
您选择的是:
篇名 |
--------------------------
请输入【篇名】:贫化铀
--------------------------
是否需要规定文献来源(y/n)?n
正在检索中.....
--------------------------
Traceback (most recent call last):
File "main.py", line 259, in
main()
File "main.py", line 253, in main
search.search_reference(get_uesr_inpt())
File "main.py", line 99, in search_reference
self.pre_parse_page(second_get_res.text), second_get_res.text)
File "main.py", line 107, in pre_parse_page
page_source).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
The text was updated successfully, but these errors were encountered: