-
Notifications
You must be signed in to change notification settings - Fork 78
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
Offer alternative to pycurl #147
Comments
Thanks for trying wptools @alexzabbey. That's a good idea! Will try to implement, or you're welcome to submit a PR... 😉 |
I found this in request.py:
I guess that means you've tried to use requests instead of pycurl but it was slower. Is it that significant? |
Yes, I started with I agree that offering |
That's really noticeable difference! |
See #44 which isn't linked to a pull request, but likely the initial impetus for changing the library. |
+1 this is causing a real headache with docker files (jupyter, kubernetes etc'). |
Planning to add |
Maybe it is just my machine, but I am finding that wptools as it currently is (using PyCurl) is incredibly slower than trying to manually using requests. Naturally I will use wptools, because all the parsing of wikitext has been a pain in the neck, but my script went from ~20 min long to an overnight run. |
I had the same issue. I'm on a windows machine but using conda. You can install libcurl, pycurl with conda and the using pip to install wptools. Maybe adding this would help to guide others. |
Any update on this milestone? |
Hey - did something initial that seems to work: https://github.com/uriva/wptools |
Installing pycurl on windows is a real hassle
The text was updated successfully, but these errors were encountered: