Closed AwkwardCauliflower closed 1 year ago
Thank you for the info. I was having the same exact issue and it appears to be working now after doing pip install win32_setctime.
This repo is outdated (no longer works) and I am no longer maintaining it.
Description
In download.py, you're loading the win32_setctime module in a
try/except
, and if that fails, you're still trying to use it later, causing a crash and preventing the database from being updated.Fix
A quick fix would be another try/except on line 152 when calling
setctime
.More Information
I used
pip install onlyfans-scraper
to install.I ran the program and it worked. It downloaded many files, but when I tried to resume the download later, it started over. Turns out, it wasn't saving any file entries in the models.db database. I saw one table per subscription, but they were both empty.
I remembered seeing an error in the progress for every file download:
name setctime does not exist
or something like that. I learned that's a WIN32 command to set file creation time, and after looking in the code I realized I didn't have thewin32_setctime
module in my Python environment. I added this requirement manually using pip and I'm not getting the error now, and the database is being updated properly.Desktop: