-
Notifications
You must be signed in to change notification settings - Fork 344
Open
Labels
Description
Describe the bug
Getting TypeError after calling search_pubs, unsure of cause.
To Reproduce
no proxies, call search_pubs
Expected behavior
not error
Screenshots
2025-09-19 11:49:21,392 - scholarly - INFO - Got a captcha request.
2025-09-19 11:49:28,005 - scholarly - INFO - Solved captcha in less than 10 seconds.
2025-09-19 11:49:28,010 - scholarly - INFO - Exception TypeError while fetching page: ("Cookies.set() got an unexpected keyword argument 'secure'",)
2025-09-19 11:49:28,010 - scholarly - INFO - Retrying with a new session.
2025-09-19 11:49:34,383 - scholarly - INFO - Got a captcha request.
2025-09-19 11:49:40,665 - scholarly - INFO - Solved captcha in less than 10 seconds.
2025-09-19 11:49:40,681 - scholarly - INFO - Exception TypeError while fetching page: ("Cookies.set() got an unexpected keyword argument 'secure'",)
2025-09-19 11:49:40,682 - scholarly - INFO - Retrying with a new session.
2025-09-19 11:49:48,561 - scholarly - INFO - Got a captcha request.
2025-09-19 11:49:55,841 - scholarly - INFO - Solved captcha in less than 10 seconds.
2025-09-19 11:49:55,846 - scholarly - INFO - Exception TypeError while fetching page: ("Cookies.set() got an unexpected keyword argument 'secure'",)
2025-09-19 11:49:55,846 - scholarly - INFO - Retrying with a new session.
2025-09-19 11:50:02,539 - scholarly - INFO - Got a captcha request.
2025-09-19 11:50:10,110 - scholarly - INFO - Solved captcha in less than 10 seconds.
2025-09-19 11:50:10,118 - scholarly - INFO - Exception TypeError while fetching page: ("Cookies.set() got an unexpected keyword argument 'secure'",)
2025-09-19 11:50:10,119 - scholarly - INFO - Retrying with a new session.
2025-09-19 11:50:15,668 - scholarly - INFO - Got a captcha request.
2025-09-19 11:50:22,163 - scholarly - INFO - Solved captcha in less than 10 seconds.
2025-09-19 11:50:22,169 - scholarly - INFO - Exception TypeError while fetching page: ("Cookies.set() got an unexpected keyword argument 'secure'",)
2025-09-19 11:50:22,169 - scholarly - INFO - Retrying with a new session.
2025-09-19 11:50:25,315 - app.api.google_scholar.google_scholar_service - ERROR - Scholar search error: Cannot Fetch from Google Scholar.
Desktop (please complete the following information):
- Proxy service: none
- python version: 3.13.2
- OS: Windows 11 24h2
- Scholarly Version 1.7.11
Do you plan on contributing?
Your response below will clarify whether the maintainers can expect you to fix the bug you reported.
- Yes, I will create a Pull Request with the bugfix.
Additional context
?
Zeyuzhao