sim0n00ps / OF-DL

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

Exception caught: Invalid property identifier character: {. Path '', line 1, position 1. #364

Closed bondo01 closed 1 month ago

bondo01 commented 1 month ago

(base) PS F:\temp> .\OF_DL.exe


\ \ / / | | | |_ \ \ /\ / / / \ | | / | / \ | ' ` \ / \ | | / \ \ V V / | / | | | ( | () | | | | | | | | / | | | () | _/_/ _| || \| _/ || || || \| __| ___/


/ _ \ | | | \ | | | | | | | |_ ___ | | | | | | | || | | | |_| | || | | | _/ || |/ ||

auth.json located successfully! Exception caught: Invalid property identifier character: {. Path '', line 1, position 1.

StackTrace: at Newtonsoft.Json.JsonTextReader.ParseProperty() at Newtonsoft.Json.JsonTextReader.ParseObject() at Newtonsoft.Json.JsonTextReader.Read() at Newtonsoft.Json.JsonReader.ReadAndAssert() at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value) at OF_DL.Program.Main()

Version OF.DL.V1.7.56 OS Windows 11 Ver = 23H2 build = 22631.3593

I switched to new version when problems with 405 errors with V1.7.52 today. worked fine 2 days ago. Exception caught: Response status code does not indicate success: 405 (METHOD NOT ALLOWED).

I added and removed commas on the last line of the auth.json and config.json files.

Did the format for the file paths change between 52->56??? notably DownloadPath and FFmpegPath?

melithine commented 1 month ago

The ffmpeg path can be specified in auth.json still, but it's more accurately in config.json now. That said, your JSON isn't valid. If you open it in Notepad++ or VSCode, the syntax highlighting should indicate where it is being broken. Or just generate the auth.json using the browser extension @whimsical-c4lic0 provides.

bondo01 commented 1 month ago

I did use the browser extension to gather the auth.json config. bondo

On Tue, May 28, 2024 at 11:53 PM melithine @.***> wrote:

The ffmpeg path can be specified in auth.json still, but it's more accurately in config.json now. That said, your JSON isn't valid. If you open it in Notepad++ or VSCode, the syntax highlighting should indicate where it is being broken. Or just generate the auth.json using the browser extension @whimsical-c4lic0 https://github.com/whimsical-c4lic0 provides.

— Reply to this email directly, view it on GitHub https://github.com/sim0n00ps/OF-DL/issues/364#issuecomment-2136464368, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPPQZJYKE56YGM3BQ7SKL3ZEVGKRAVCNFSM6AAAAABINNPVP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZWGQ3DIMZWHA . You are receiving this because you authored the thread.Message ID: @.***>

melithine commented 1 month ago

Were you able to solve this? If not, paste a redacted version (cut out a few characters from the middle of the values, nothing near the quotes/commas and your full config.json.

bondo01 commented 1 month ago

I'm no longer seeing this issue. I could not cut and past the contents from the addon. I used the save auth.json in the addon to create the file and that worked. No it fails for: Exception caught: Response status code does not indicate success: 403 (Forbidden).

bondo

On Sat, Jun 1, 2024 at 9:51 PM melithine @.***> wrote:

Were you able to solve this? If not, paste a redacted version (cut out a few characters from the middle of the values, nothing near the quotes/commas and your full config.json.

— Reply to this email directly, view it on GitHub https://github.com/sim0n00ps/OF-DL/issues/364#issuecomment-2143662466, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPPQZPYFPYX6YBI4SM46FLZFJ3B5AVCNFSM6AAAAABINNPVP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGY3DENBWGY . You are receiving this because you authored the thread.Message ID: @.***>