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

Multithreading/parallelize? #5

Open
Niemand112233 opened this issue Aug 27, 2020 · 4 comments
Open

Multithreading/parallelize? #5

Niemand112233 opened this issue Aug 27, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@Niemand112233
Copy link

Hi,
Your software works great, but it is a little bit slow when searching for queries on google scholar. Is it possible to parallelize for example the search on the single pages?

@ferru97 ferru97 added the enhancement New feature or request label Aug 27, 2020
@ferru97
Copy link
Owner

ferru97 commented Aug 27, 2020

Hi @Niemand112233,
Yes for the next version (as soon as I have time or new collaborators) I'll try to introduce multithreading(even though it's not the best thing of python) at least during the downloads so that the tool will continue searching while downloading papers.

There is also a random timeout 1-10sec after each request to Crossref (When you see on the prompt "Searching paper x of y on Crossref.."). I've put it as I think that it helps to not get blocked by crossref for API abuse. On the next version, I think I'll put this timeout optional

@ferru97 ferru97 pinned this issue Aug 27, 2020
@creepy-pasta101
Copy link
Contributor

I guess mutlithreading can be introduced by adding crossref query and scihub downloads alternatively

@ferru97
Copy link
Owner

ferru97 commented May 9, 2021

Yes of course, even if the gain is not maximum

@ferru97
Copy link
Owner

ferru97 commented Oct 7, 2024

Hi,
sorry for the late reply, but PyPaperBot had been on standby until now.
I've decided to resume development to improve it.

I've created a Telegram channel where you can suggest improvements, report bugs, or request custom data mining scripts. Feel free to join if you're interested with the following LINK

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants