EasyLiterature icon indicating copy to clipboard operation
EasyLiterature copied to clipboard

Cannot Fetch from Google Scholar.

Open hyperbolic-c opened this issue 11 months ago • 0 comments

作者您好,最近用的时候就算开了梯子,也一致是获取失败。估计是Scholarly那边的问题?看了一下那边的issue也有人提。请问您能正常使用吗,感谢。 报错信息 Exception ConnectError while fetching page: ('[Errno 11001] getaddrinfo failed',)

2024-03-18 21:19:21,365 - scholarly - INFO - Enabling proxies: http=http://127.0.0.1:10809/ https=http://127.0.0.1:10809/
2024-03-18 21:19:22,633 - scholarly - INFO - Proxy works! IP address: 
2024-03-18 21:19:23,071 - scholarly - INFO - Proxy setup successfully
Proxy setup sucess: True.
2024-03-18 21:19:25,159 - scholarly - INFO - Proxy works! IP address: 
2024-03-18 21:19:25,858 - scholarly - INFO - Proxy works! IP address: 
2024-03-18 21:19:28,435 - scholarly - INFO - Getting https://scholar.google.com/scholar?hl=en&q=A%20lightweight%20network%20for%20photovoltaic%20cell%20defect%20detection%20in%20electroluminescence%20images%20based%20on%20neural%20architecture%20search%20and%20knowledge%20distillation&as_vis=0&as_sdt=0,33
2024-03-18 21:19:32,429 - scholarly - INFO - Exception ConnectError while fetching page: ('[Errno 11001] getaddrinfo failed',)
2024-03-18 21:19:32,430 - scholarly - INFO - Retrying with a new session.
2024-03-18 21:19:36,985 - scholarly - INFO - Exception ConnectError while fetching page: ('[Errno 11001] getaddrinfo failed',)
2024-03-18 21:19:36,985 - scholarly - INFO - Retrying with a new session.

就是Cannot Fetch from Google Scholar.

[288](file:///D:/miniconda/envs/research/lib/site-packages/scholarly/_navigator.py:288) def search_publications(self, url: str) -> _SearchScholarIterator:
    [289](file:///D:/miniconda/envs/research/lib/site-packages/scholarly/_navigator.py:289)     """Returns a Publication Generator given a url
    [290](file:///D:/miniconda/envs/research/lib/site-packages/scholarly/_navigator.py:290) 
    [291](file:///D:/miniconda/envs/research/lib/site-packages/scholarly/_navigator.py:291)     :param url: the url where publications can be found.
...
    [188](file:///D:/miniconda/envs/research/lib/site-packages/scholarly/_navigator.py:188)     return self._get_page(pagerequest, True)
    [189](file:///D:/miniconda/envs/research/lib/site-packages/scholarly/_navigator.py:189) else:
--> [190](file:///D:/miniconda/envs/research/lib/site-packages/scholarly/_navigator.py:190)     raise MaxTriesExceededException("Cannot Fetch from Google Scholar.")

hyperbolic-c avatar Mar 18 '24 14:03 hyperbolic-c