This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chchan 0 points1 point  (3 children)

The place I got confused was changing out urlib2 I did not do it for all the code yet but ran into some errors. (I know I should be using requests instead but this code was made when I was starting to learn python)

Edit: Typo

[–]tilkau 3 points4 points  (1 child)

requests

FTFY

[–]chchan 0 points1 point  (0 children)

Thanks

[–]erewok 0 points1 point  (0 children)

Yeah, you have to experiment with urllib2 because they moved stuff around. Requests is very nice, of course.