UltimaScraper icon indicating copy to clipboard operation
UltimaScraper copied to clipboard

Media creation/modification timestamps not correct

Open E0911CD45B19686 opened this issue 5 years ago • 3 comments

Running commit f49a5d6e9a9633148736db3e19f037d26a829a49 (Implement Asyncio) on Synology DSM 6.

I noticed all the "Date Modified" (as shown in Mac OS) dates for newly downloaded content was set for the time it was downloaded. This includes older content from models I recently subscribed to.

I haven't gone through the full diff yet but I noticed all usages of format_image in modules/onlyfans.py have been removed so I think that's the cause.

E0911CD45B19686 avatar Jun 08 '21 15:06 E0911CD45B19686

Looks like process_download is the new function that writes files to disk and it doesn't appear to explicitly set any times

with open(download_path, "wb") as f:
    f.write(data)

E0911CD45B19686 avatar Jun 08 '21 16:06 E0911CD45B19686

Any ETA for this patch yet?

johndoenotavailable avatar Jun 12 '21 16:06 johndoenotavailable

Added it for new downloads and I'll add it to OFRenamer at a later date.

UltimaHoarder avatar Jun 13 '21 03:06 UltimaHoarder