python - use wget package to download files which have been created within a timeframe -


i trying download latest papers have been added folder. using wget package download files with

url = 'path_to_files/*.gz' filename = wget.download(url, out=outdir) 

i can limit new files ignoring once have downloaded with

wget -n url 

however, not want store these files in folder, rather delete them after processing because of memory limitations. -n flag not work. still want updates. want download files have been created within last 2 days. possible wget?


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -