Missing some of my subscriptions.
Only about half of my subscriptions are showing up. I'm not sure what I'm doing wrong.
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.
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.
Working on a PR for this
@Gixxa's solution worked for me
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.
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 parameterlimitfrom 20 to 10, and your halving problem will go away.
this did the trick for me, even after using the latest commit
@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.
Can confirm, changing max_thread to 1 is the only thing that has fixed it for me, latest commit (fd9006b) made no difference.
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.
@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.
Latest commit should fix the issue...
@DIGITALCRIMINAL
Can confirm, 32 Threads and all models now work. Thank you for your great work.
@DIGITALCRIMINAL My deepest thanks for your excellent work.
update, I use 16 threads to prevent API used quota or freq. cause OF attention, and it work great.
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.
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