OF-Scraper icon indicating copy to clipboard operation
OF-Scraper copied to clipboard

Not scraping images or messages

Open Bum211 opened this issue 1 year ago • 18 comments

Hi there, I downloaded the latest commit from yesterday. I finally got past authentication and the script to run regularly. However, I noticed that the script is scraping Video ok but not scraping any images on posts or in messages. I don't have any error or anything to share here as the script just runs normally.

For example, there are models that I just sub today and it's not scraping anything but just the Profile and those images. Another model that I'm subbed to, is not scraping any images from posts but only videos.

Screenshot 2024-08-26 202853 image

There are two screenshots I could take when the script is running for this newly subbed today. However, there was nothing scrapped besides the Profile image and the header.

Help, please?

Thanks! Bum

Bum211 avatar Aug 26 '24 11:08 Bum211

put:

  • ofscraper -a download --force-all -u <user> -o ALL
  • change <user> to the subscription/model name

or

  • close the console
  • in config, delete the cache folder and the model folder in .data
  • download again

Puk0 avatar Aug 26 '24 11:08 Puk0

Thank you for the quick reply. I tried both methods and it is still the same result. Only scrap the profile image and header.

I deleted all the cache and the model cache in .data and even used the first method on the new sub or existing sub and it is still giving me the same result.

Bum211 avatar Aug 26 '24 12:08 Bum211

Which commit exactly

datawhores avatar Aug 26 '24 19:08 datawhores

Hello, it was the one from 2 days ago.

image

This commit actually scrape Vids that were otherwise didn't scrape before but it won't scrape any images

Thanks!

Bum211 avatar Aug 26 '24 21:08 Bum211

Seems to have just started happening for me a few days ago (I didn't notice until I did another run/pull today). Only pulling videos, and I'm not certain if it's all of them yet (need to do an audit). Definitely not pulling images, or any content in messages.

I can't be sure when it started, but it had to have started a few days ago / late last week.

lordoffools avatar Aug 26 '24 23:08 lordoffools

Hmm, actually, I have an example where even videos weren't pulled. (New subscription as of today)

Trying this specific example with --after 2000 --force-all now.

Update: Nope, that didn't do it. Even with a force it didn't download / re-download everything.

Update 2: Nevermind. It works with force-all. I had a syntax error that I caught and fixed. Going to continue running tests and will report back if I continue to experience issues without using force-all.

lordoffools avatar Aug 26 '24 23:08 lordoffools

Can you try maybe logging out and logging back in Also send a log file

datawhores avatar Aug 27 '24 04:08 datawhores

Ofscraper Log.txt

Here's the log file. Please let me know this suffice.

Bum211 avatar Aug 27 '24 10:08 Bum211

Well according to the script all the downloads you want are already been marked as downloaded

You have to use --dupe --after 2000

datawhores avatar Aug 27 '24 11:08 datawhores

This is just one of the logs. It still doesn't help that I cannot scrape anything with a new sub. And I'm sorry I don't know what you mean by using dupe after 2000.

Bum211 avatar Aug 27 '24 11:08 Bum211

Ofscraper Log_New_Sub.txt

Here's the script I just ran with the new sub I subbed yesterday. Beside the script only getting her Profile Pic and Header, it didn't scrape anything else. This is how I found out the script wasn't scraping any images.

Thank you for looking into this!

Bum211 avatar Aug 27 '24 12:08 Bum211

Not sure what happen but all the downloads you want are already marked as downloaded you need to force a rescan, and redownload with ofscraper --after 2000 --dupe

datawhores avatar Aug 28 '24 14:08 datawhores

I'm gonna chime in and say that i too have noticed that in some cases some posts aren't being listed or downloaded at all, i tried purging the database and using dupe but same result. The only way i could get it to download the missing posts was running post_check mode and selecting every row in the table to be downloaded. Sometimes the difference is pretty significant, in one case nearly 100 posts were missing on a total of 140ish. At first i thought it may have been skipping duplicates but as it turns out this is not the case. Images were affected most but many videos were also affected by the bug

DADESUPER avatar Sep 05 '24 18:09 DADESUPER

I personally found that even though I was running "pip install --upgrade ofscraper" that I was still running an old version that would only download videos. I downloaded the latest version from the release page and that appears to be downloading all images now.

1138cl avatar Sep 05 '24 21:09 1138cl

I personally found that even though I was running "pip install --upgrade ofscraper" that I was still running an old version that would only download videos. I downloaded the latest version from the release page and that appears to be downloading all images now.

3.12.1 win build has the partial download outside of post_check mode issue for me, but only for some people for whatever reason, others are fine

DADESUPER avatar Sep 06 '24 05:09 DADESUPER

I'm gonna chime in and say that i too have noticed that in some cases some posts aren't being listed or downloaded at all, i tried purging the database and using dupe but same result. The only way i could get it to download the missing posts was running post_check mode and selecting every row in the table to be downloaded. Sometimes the difference is pretty significant, in one case nearly 100 posts were missing on a total of 140ish. At first i thought it may have been skipping duplicates but as it turns out this is not the case. Images were affected most but many videos were also affected by the bug

Please open another issue with a log of an effected user if possible

datawhores avatar Sep 07 '24 23:09 datawhores

The force reset of cache in 3.12.2 and beyond should fix some of these issues

datawhores avatar Sep 07 '24 23:09 datawhores

I'm having a similar issue where the user has over 3000 posts but the scraper only grabs 1500 of them (images and videos), missing half the content.

hawktank avatar Dec 26 '24 20:12 hawktank

The script will remove duplicate files Trying to download them will cause issues, because you will have to async processes trying to download potentially to the same location, depending on the users setting

datawhores avatar May 30 '25 14:05 datawhores