UltimaScraper icon indicating copy to clipboard operation
UltimaScraper copied to clipboard

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

Open djmarioka opened this issue 1 year ago • 5 comments

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.

djmarioka avatar Jan 04 '24 01:01 djmarioka

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 avatar Jan 07 '24 15:01 Vloeck

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)

Vloeck avatar Jan 07 '24 15:01 Vloeck

Hi,

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

Could anybody help me?.

Thanks.

djmarioka avatar Jan 17 '24 04:01 djmarioka

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?

throwawayuser111 avatar Jan 28 '24 20:01 throwawayuser111

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

Vloeck avatar Jan 28 '24 20:01 Vloeck