I had obtained this code for url extractor from github.I am quiet new to python and I tried to use requests instead of urllib as suggested in some answers but could not quie