Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get furaffinity to accept my cookies/every time I alter the section for it I get an error. #5545

Open
SilverlinedEagletip opened this issue May 3, 2024 · 4 comments

Comments

@SilverlinedEagletip
Copy link

What it says on the tin- I just want to download everything for my catalogue. I added the cookies code to my config and it started returning this error:

[config][error] JSONDecodeError when loading 'C:\Users\Rumrunner\AppData\Roaming\gallery-dl\config.json': Extra data: line 393 column 6 (char 9077)

No matter how I adjust it/ try to get it in-line with the rest of the code the error keeps popping up. Can someone PLEASE screenshot how they have it formatted line for line in theirs and post it for me to copy (minus the cookies, obv), if I'm fucking something up. I've got next to no experience working with any kind of code so some of the answers/explanations just sound like greek to me. Both variants of the code I've found don't have the layout portion involved, (auto vs whatever) either.

I'm losing my marbles, someone please help.

@SilverlinedEagletip
Copy link
Author

image

This is how my file is formatted. I have twitter and DA and pixiv all set but for some reason I cannot find a simple way to arrange FA to download anything labelled NSFW (whether it is or not)

@Hrxn
Copy link
Contributor

Hrxn commented May 7, 2024

You can use the online editor https://vscode.dev/ to fix JSON text. Just make sure that the language mode is set to JSON, open the drawer with Ctrl+J, make sure Problems is selected and it will highlight all issues with the JSON.

@mikf
Copy link
Owner

mikf commented May 9, 2024

There's an example right here:

"furaffinity": {
"#": "authentication with username and password is not possible due to CAPTCHA",
"cookies": {
"a": "01234567-89ab-cdef-fedc-ba9876543210",
"b": "fedcba98-7654-3210-0123-456789abcdef"
},
"descriptions": "html",
"postprocessors": ["content"]
},

@SilverlinedEagletip
Copy link
Author

There's an example right here:

"furaffinity": {
"#": "authentication with username and password is not possible due to CAPTCHA",
"cookies": {
"a": "01234567-89ab-cdef-fedc-ba9876543210",
"b": "fedcba98-7654-3210-0123-456789abcdef"
},
"descriptions": "html",
"postprocessors": ["content"]
},

where do i put this, how do i format it within the actual information I have- this is what I asked for. Just plopping it down after it gives me an error. What do I need to actually do. Where do I put this. Before? After? in the middle, somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants