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

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -