urllib implementation and console print