Fixed main.py to debug the url request