UltimaHoarder / UltimaScraper

Scrape all the media from an OnlyFans account - Updated regularly
GNU General Public License v3.0
4k stars 608 forks source link

Limit of 207 subscriptions (I have 220 subscriptions approx.) #2064

Open djmarioka opened 10 months ago

djmarioka commented 10 months ago

Hi,

I'm receiving 207 subscriptions, and I have about 220 subscriptions, I've tried to change the parameters in the config.json file, but it doesnt' get all the subscriptions:

image

Could anybody know how could I get all the subscriptions?.

Thanks.

Vloeck commented 10 months ago

You can replace in venv/Lib/site-packages/ultima_scraper_api/apis/onlyfans/classes/auth_model.py in line 189 ceil = math.ceil(subscription_type_count / limit) with ceil = math.ceil(subscription_type_count / limit * 1.2)

Apparently OF gives lists with holes, so you need to fetch more. If you still have not all of your subscriptions, replace 1.2 with 1.5 or greater

Vloeck commented 10 months ago

if you have the problem that not all media is scraped, the same adjustment can be made in venv/Lib/site-packages/ultima_scraper_api/apis/onlyfans/classes/extras.py in line 356 Replace ceil = math.ceil(api_count / limit) with ceil = math.ceil(api_count / limit * 1.2)

djmarioka commented 10 months ago

Hi,

I'm now with a limit of 187 subscriptions, not 220, I don't know what's happening.

Could anybody help me?.

Thanks.

throwawayuser111 commented 9 months ago

if you have the problem that not all media is scraped, the same adjustment can be made in venv/Lib/site-packages/ultima_scraper_api/apis/onlyfans/classes/extras.py in line 356 Replace ceil = math.ceil(api_count / limit) with ceil = math.ceil(api_count / limit * 1.2)

I don't see this file anywhere or that line to replace. Is this outside of the repo? Is this from an old version?

Vloeck commented 9 months ago

its where the python libraries are installed I do not know exactly how your setup is, there are multiple possibilities