You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, it sure is an impressive library. But speaking of our real needs, I have to say that we mostly do GET requests, building search query. This usually boils down to these 3 lines:
Well, one line saved. Just a bit more elegant, but the difference is not that much
My opinion is that, on "basic" GET we just use urllib and urllib2.
If, however, you feel that sometimes urllib is just too boring to use, don't be afraid using requests: it will become a dependency for just that retriever, so it's not a big problem.
Am I missing some point about requests advantages?
Just my 2 cents, feel free to say me I'm just wrong
I say we remove urllib and urllib2 and use requests instead.
It has many advantages
check it out here
http://docs.python-requests.org/en/latest/index.html
The text was updated successfully, but these errors were encountered: