sim0n00ps / OF-DL

C# console app to download all of the media from Onlyfans accounts with DRM video downloading support
569 stars 54 forks source link

Can't login: I get logged out of OF and "sess" value immediately changes everytime I run OF-DL, resulting in auth failed error. #311

Closed gigacastelo closed 1 month ago

gigacastelo commented 3 months ago

As soon as I run OF-DL I immediatelly get logged out of OF, and then I get the "auth failed" error because the sess expires.

Basically when I run OF-DL something triggers Onlyfans and they log me off.

I can't manage to make it work. It was working fine a week ago so I'm not sure if something changed or if I'm doing something wrong.

I'm using the OF Auth Helper extention to get the necessary values.

I Tried to log in and get auth values on multiple browsers. None of them worked.

thomassandstrom commented 3 months ago

This happens to me now as well, never happened before.

mediaburnwayne commented 3 months ago

have you checked your user agent. That usually happens to me when my browser updates and my user agent changes. Then I have to update config with new agent

thomassandstrom commented 3 months ago

have you checked your user agent. That usually happens to me when my browser updates and my user agent changes. Then I have to update config with new agent

I check that one as well every time there is trouble with the config, so User agent is updated.

I have tried values from both Firefox and Chrome without success. Everytime I start OF-DL you get logged out from OnlyFans and the cookies are no longer valid.

But at the same time, I can be logged in on both Firefox and Chrome without getting logged out.

Darkpte commented 3 months ago

I had the same issue, just updated User agent in auth.json and everything worked fine

thomassandstrom commented 3 months ago

User agent was correct.

But today after changing cookie/sess, it work like it should and I wasn't logged out from OF.

Mareckyyy commented 3 months ago

I've created second profile in chrome, logged into OF, copied auth values and switched back to my main profile. I,m logged into of-dl since november 2023 using these data

Johntm33 commented 1 month ago

Anyone find a fix for this??? Changing all the values does not seem to work

melithine commented 1 month ago

The current version has specific pointers how to address the. Tldr; use the browser extension, or particularly check your USER_AGENT because it is probably slightly wrong.