Can you write python code that does the same but does not use the requests library or anything else that is not part of the python standard library?