k0rnh0li0 / onlyfans-dl

OnlyFans content downloader
GNU General Public License v3.0
770 stars 222 forks source link

Access Denied #169

Closed shastan324 closed 10 months ago

shastan324 commented 2 years ago

I have been able to use this in the past running vscode with a virtual python environment I set up just for this. I opened it up today and updated the user-agent, user-id, sess, and x-bc but when I hit run it throws an access denied error instead of pulling up the list of subscribed accounts.

Edit: Still having issue with Firefox. However I updated the auth.json to my chrome information and it is working.

mannfranz commented 2 years ago

same. thx for the workaround using chrome info

agentlemonz commented 2 years ago

Having same access denied issues when program first loads then crashes soon after, trying it with chrome info

kusti420 commented 2 years ago

access denied even with chrome info

blmatthews commented 2 years ago

I just tried it. I had to update my info (I think Google installed a new version of Chrome since I last used the script), but once I did that it worked fine.

kusti420 commented 2 years ago

I just tried it. I had to update my info (I think Google installed a new version of Chrome since I last used the script), but once I did that it worked fine.

i tried everything, just using different user agent from chrome, updating sess-id from chrome. aint recieving json files on chrome, cant get x-bc on chrome from anywhere, had to use the old, one, used every combination of those, doesnt work, idk whats causing it

blmatthews commented 2 years ago

Are you mixing data from different browsers? That definitely won't work. Get all the values from a single browser while logged in to OF. In the network tab of the developer tools look for a stats-collect request then look at the request headers. Everything you need is in there.

kusti420 commented 2 years ago

Are you mixing data from different browsers? That definitely won't work. Get all the values from a single browser while logged in to OF. In the network tab of the developer tools look for a stats-collect request then look at the request headers. Everything you need is in there.

the point is that i tried getting all info from one browser from the same session at once, and it didnt work so i tried few different things. but nvm didnt see any stats-collect requests but request headers had x-bc, that fixed it

kusti420 commented 2 years ago

stopped working again