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

无法搜索 #38

Open
barnett2010 opened this issue Sep 8, 2021 · 2 comments
Open

无法搜索 #38

barnett2010 opened this issue Sep 8, 2021 · 2 comments

Comments

@barnett2010
Copy link

python main.py
--------------------------
|                         |
| 请选择检索条件:(可多选)           |
|(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'

@YinZhaokai
Copy link

试试将所有文件中的"http"替换成"https"

@OctopusLian
Copy link

我也遇到了,已经换了,还是不行

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