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

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

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

c# - Update a combobox from a presenter (MVP) -