swapped out urllib for requests