-
Notifications
You must be signed in to change notification settings - Fork 335
Closed as not planned
Description
Describe the bug
pg.FreeProxies()
fails.
To Reproduce
A minimal code snippet to reproduce the bug. If the bug is due to proxy issues and not exactly reproducible, please provide a code snippet and provide additional information under Additional context below.
>>> from scholarly import ProxyGenerator
>>> pg = ProxyGenerator()
>>> success = pg.FreeProxies()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/francesco.frassinell/.local/share/fades/e3663b59-ed29-42fd-a7f7-09bceeb84c8f/lib/python3.8/site-packages/scholarly/_proxy_generator.py", line 524, in FreeProxies
proxy = self._proxy_gen(None) # prime the generator
File "/home/francesco.frassinell/.local/share/fades/e3663b59-ed29-42fd-a7f7-09bceeb84c8f/lib/python3.8/site-packages/scholarly/_proxy_generator.py", line 485, in _fp_coroutine
all_proxies = freeproxy.get_proxy_list()
TypeError: get_proxy_list() missing 1 required positional argument: 'repeat'
Expected behavior
It should work according to the documentation.
Desktop (please complete the following information):
- python version: 3.8
- OS: GNU/Linux
- Version 1.7.4
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.