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
We'd have to redo the urlutils module, but that's not that much work. Should become simpler too. Also that module should have a method for posting stuff to paste.ee, IMO.
Posting stuff to a pastebin has nothing to do with URL loading. It should be its own module. Other than that, that request library does look nice. Should be easy to change the url loading module to use it.
Exception handling still needs some work for better log messages though, it was getting late last night so I didn't check out what the exceptions contain. Once that's done this can be closed.
http://docs.python-requests.org/en/latest/
It looks much nicer to use.
The only reason I haven't for PyMoronBot is that so much existing code would have to change.
The text was updated successfully, but these errors were encountered: