Download specific file in url using PHP/Python
Question: I previously used to use `wget -r` on the linux terminal for downloading files
with certain extensions:

    
    
    wget -r -A Ext URL
    

But now I was assigned by my lecturer to do the same thing using PHP or
Python. Who can help?


Answer: I guess urllib pretty well for you

    
    
    import urllib
    urllib.urlretrieve (URL, file)
    

