Coursera Python For Everybody Error- Capstone Week 2 Assignment

The program is only giving me a single page(the page itself) for both the given url and the url of my choice, and then giving the message:‘Unable to retrieve or parse page
No unretrieved HTML pages found’. The beautifulsoup in my system is up to date and I am using the file as it is . What else is the problem?