python - List web url dir contents -


I want the list of the UL-R content of the external webpage such as I do this website example.com/dir/dir / Images /

 urllib.urlretrieve (page_url, save_url) < / Code> 

But I want to list all the images in a directory, or anything for that matter ells

I want to use Python

Unfortunately this can only work if the web server in question asks you to navigate Magistrate while will provide a directory to the URI of the directory.

If this happens, the typical directory list creates a very simple markup so that they make a major candidate for various forms of web scrapping. Otherwise, you are out of luck.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -