UltimaScraper icon indicating copy to clipboard operation
UltimaScraper copied to clipboard

Missing some of my subscriptions.

Open elwoodflame opened this issue 5 years ago • 16 comments

Only about half of my subscriptions are showing up. I'm not sure what I'm doing wrong.

elwoodflame avatar May 01 '21 23:05 elwoodflame

Try setting "max_threads": 1,

If I keep it at the default -1 I only get 10 out of 30 same if I go above 1.

ghost avatar May 01 '21 23:05 ghost

I read in a comment on another issue that OF changed their backend to always use a page size of 10, regardless of what the parameter value specifies.

In apis/onlyfans/onlyfans.py, function get_subscriptions (line 673 for me, but I've made a few tweaks in my private repo), change the default value of parameter limit from 20 to 10, and your halving problem will go away.

unclebobsnephew avatar May 02 '21 01:05 unclebobsnephew

Working on a PR for this

unclebobsnephew avatar May 02 '21 01:05 unclebobsnephew

@Gixxa's solution worked for me

tocking avatar May 02 '21 05:05 tocking

Use latest commit with max threads, it should work. It was an issue with me using one session to do multithreaded requests. This would change the time and sign headers for all requests so you'd get "Please refresh" or missing subs and posts.

UltimaHoarder avatar May 02 '21 06:05 UltimaHoarder

I read in a comment on another issue that OF changed their backend to always use a page size of 10, regardless of what the parameter value specifies.

In apis/onlyfans/onlyfans.py, function get_subscriptions (line 673 for me, but I've made a few tweaks in my private repo), change the default value of parameter limit from 20 to 10, and your halving problem will go away.

this did the trick for me, even after using the latest commit

ghost avatar May 02 '21 07:05 ghost

@DIGITALCRIMINAL

Just tried it and it does not work for me. Even with the newest commit (fd9006b) it's not working if I keep max_threads at -1 or anything above 1.

I've logged out of all sessions and signed in again still only see 10/30 subscriptions if I set max_thread to anything above or below 1.

The fix from @unclebobsnephew did not work for me.

ghost avatar May 02 '21 07:05 ghost

Can confirm, changing max_thread to 1 is the only thing that has fixed it for me, latest commit (fd9006b) made no difference.

zeldatp151 avatar May 02 '21 15:05 zeldatp151

I changed max_threads from -1 to 1 and still getting only 18 of 38 subscriptions showing up. Tried unclebobsnephew's "page size" suggestion and changed the parameter from 20 to 10; actually got even less of my subs showing up.

The latest commit did fix the issue with partial downloads. Everything is being scraped now. Thanks for your hard work digitalcriminal! I'll definitely be sending some bitcoins your way.

purpleemoji avatar May 02 '21 15:05 purpleemoji

@DIGITALCRIMINAL

Just tried it and it does not work for me. Even with the newest commit (fd9006b) it's not working if I keep max_threads at -1 or anything above 1.

I've logged out of all sessions and signed in again still only see 10/30 subscriptions if I set max_thread to anything above or below 1.

The fix from @unclebobsnephew did not work for me.

My bad, I only fixed it for multithreaded scrapes, I forgot the multithreaded subscriptions go through another route.

I've got another big commit coming today which will fix majority of the issues.

UltimaHoarder avatar May 02 '21 16:05 UltimaHoarder

Latest commit should fix the issue...

UltimaHoarder avatar May 02 '21 16:05 UltimaHoarder

@DIGITALCRIMINAL

Can confirm, 32 Threads and all models now work. Thank you for your great work.

ghost avatar May 02 '21 17:05 ghost

@DIGITALCRIMINAL My deepest thanks for your excellent work.

eictw avatar May 02 '21 17:05 eictw

update, I use 16 threads to prevent API used quota or freq. cause OF attention, and it work great.

eictw avatar May 02 '21 17:05 eictw

After the latest commit it is working perfect.

The only thing that I noticed is that the scrapping process is not as fast as it used to be: to get my subscriptions (over 200) it is taking like 5-ish minutes when it used to be like like 30~40 seconds.

The download speed is the same, it is just the scrapping that is slower.

ghost avatar May 02 '21 19:05 ghost

in the newest version there still seems to be a bug. while with -1 i get different profiles than with 1 or 16, but in total the same amount of 53

passeee avatar Dec 28 '24 19:12 passeee