I am working on downloading a file from html page.
for example
html = 'www.abcd.com'
I parse the HTML page and find the links in that page.
Now I have the links from html page. But, the links are in following format :
i/ma/$File/ABCD.xls
but because of $File, I am not able to download the file.
what is the way to download such files with such internal links?
Thanks
You can create complete URL from hostname and relative path using
urlparse.urljoin().