sim0n00ps / OF-DL

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

404 Error during startup #397

Closed denes44 closed 5 days ago

denes44 commented 3 weeks ago

I tried to run the program today, but I got the following error message: image

I updated it to the latest release, but the error is the same.

aussielimes commented 2 weeks ago

same here

meanjoep92 commented 2 weeks ago

Suddenly just happened to me too! :(

JC02023 commented 2 weeks ago

same error

NoNotNate commented 2 weeks ago

just got this too

djmarioka commented 2 weeks ago

Hi,

today I'm receiving this error, as well:

image

Could anybody fix this issue?.

Thanks.

Astercholik commented 2 weeks ago

Hello, I am also getting the same message, yesterday I was still using the program and this morning such an error. I have the latest version and I noticed that a new version of Firefox came out, so I updated the auth.json file but the error still occurs.

I also checked on Chrome and it is the same.

booleangit commented 2 weeks ago

Same here. I'm guessing OF changed their authentication method? Hopefully it doesn't require an extensive rewrite.

image

melithine commented 2 weeks ago

We're aware of the issue, but it's unclear when a fix might be available, as one of our dependencies was taken down.

booleangit commented 2 weeks ago

We're aware of the issue, but it's unclear when a fix might be available, as one of our dependencies was taken down.

Just out of curiosity: can I ask which dependency?

melithine commented 2 weeks ago

The dynamic rules, both locations appear to have been taken down by github.

ryansilversun commented 2 weeks ago

We can use wayback machine to retrieve the last captured version of that file (on June 5) https://web.archive.org/web/20240605235739/https://raw.githubusercontent.com/Growik/onlyfans-dynamic-rules/main/rules.json

sim0n00ps commented 2 weeks ago

Doesn't require a re-write at all I don't think, just need to host the dynamic rules again, just need to generate them and keep them up to date

booleangit commented 2 weeks ago

Doesn't require a re-write at all I don't think, just need to host the dynamic rules again, just need to generate them and keep them up to date

If it got deleted by GitHub, maybe it's wise to rename the library/location to something that doesn't contain the full OF name.

sim0n00ps commented 2 weeks ago

Doesn't require a re-write at all I don't think, just need to host the dynamic rules again, just need to generate them and keep them up to date

If it got deleted by GitHub, maybe it's wise to rename the library/location to something that doesn't contain the full OF name.

I wasn't hosting them in the first place but yes I will have to either discreetly host them myself or let someone else do it, ideally I would do it myself

ryansilversun commented 2 weeks ago

Besides the online file, could you implement a fallback to local file in case the online one is nuked somehow? 😂

Ragnarok700 commented 2 weeks ago

Ah, thanks @legendaryredfox for mentioning this. Somehow this issue #397 escaped my search... And here I was cloning the project and just about to debug the app!

Ragnarok700 commented 2 weeks ago

@ryansilversun OK, so I added support for using a local rules.json (as a backup if URI is dead/not working/etc.), but the values I found don't allow me to auth... :P (I'll probably make a PR later once I can confirm it works fully)

What values should I be using now? What I currently have is:

{
  "app-token": "33d57ade8c02dbc5a333db99ff9ae26a",
  "static_param": "RPnq8UadKceN7JNbeh2ApmUxM0A2nU9y",
  "prefix": "24650",
  "suffix": "666078a0",
  "checksum_constant": 13,
  "checksum_indexes": [4,5,7,9,9,11,13,17,18,19,23,23,23,24,25,26,27,27,28,28,28,28,28,29,30,32,32,33,33,34,34,38]
}
melithine commented 2 weeks ago

@ryansilversun OK, so I added support for using a local rules.json (as a backup if URI is dead/not working/etc.), but the values I found don't allow me to auth... :P (I'll probably make a PR later once I can confirm it works fully)

What values should I be using now? What I currently have is:

{
  "app-token": "33d57ade8c02dbc5a333db99ff9ae26a",
  "static_param": "RPnq8UadKceN7JNbeh2ApmUxM0A2nU9y",
  "prefix": "24650",
  "suffix": "666078a0",
  "checksum_constant": 13,
  "checksum_indexes": [4,5,7,9,9,11,13,17,18,19,23,23,23,24,25,26,27,27,28,28,28,28,28,29,30,32,32,33,33,34,34,38]
}

That looks absolutely nothing like auth.json should look like. https://of-dl.gitbook.io/of-dl/auth

Ragnarok700 commented 2 weeks ago

That looks absolutely nothing like auth.json should look like. https://of-dl.gitbook.io/of-dl/auth

@melithine Obviously, that is totally true, since it is not the contents of my auth.json file. This is the content of my local rules.json, not auth.json. I added support for a local rules.json file in case the one online is taken down/unavailable. That being said, I don't know what information should be in there right now (in the rules.json) to be valid.

melithine commented 2 weeks ago

Ah, ok, I misunderstood what you were saying. From the Discord, the values from the Wayback machine worked for at least one person. https://web.archive.org/web/20240605235739/https://raw.githubusercontent.com/Growik/onlyfans-dynamic-rules/main/rules.json

Ragnarok700 commented 2 weeks ago

Those are the ones I posted above. Did not allow me to auth though. During GetUserInfo() the http request returns a 400.

melithine commented 2 weeks ago

There's also some discussion about how to generate it. https://github.com/gravilk/onlyfans-dynamic-rules-documented

melithine commented 2 weeks ago

Also, and this may be obvious, but in case it's not, with any errors during auth, check to see if your session is still valid. They often void the session if they detect something wrong.

Ragnarok700 commented 2 weeks ago

Fair point. Even with updated auth.json, still not working for me with those... oh well. I'll have to take a break for this since I'm trying to help a friend and it felt like a fun thing to look at but I do have other stuff to do today :D. That being said, I can probably push my modification that adds support to read the local rules.json.

melithine commented 2 weeks ago

Fair point. Even with updated auth.json, still not working for me with those... oh well. I'll have to take a break for this since I'm trying to help a friend and it felt like a fun thing to look at but I do have other stuff to do today :D. That being said, I can probably push my modification that adds support to read the local rules.json.

That was actually merged into master already, I just tested it with a local build (using dotnet build) and it works fine for me. The rules.json looks to be the same, it's in the OF DL subfolder of the code in the current master branch.

sim0n00ps commented 2 weeks ago

For now as a temp fix I have created a new release that includes a rules.json file that needs to be in the same directory as OF DL.exe. For now it's fine but going forward this wont be a permanent thing, this is just to keep the ball rolling for you guys

scabaa commented 2 weeks ago

Just FYI I am using the docker version of this new release and I had to download rule.json separately to my config dir for this to work. I got "rule.json file missing" error before. But now its working like a charm

peddanet commented 2 weeks ago

We can use wayback machine to retrieve the last captured version of that file (on June 5) https://web.archive.org/web/20240605235739/https://raw.githubusercontent.com/Growik/onlyfans-dynamic-rules/main/rules.json

This has worked for me so far! Thanks @ryansilversun , just putting the content from wayback macine to rules.json in the publish folder solves the issue for now!!