mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.7k stars 953 forks source link

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

Open SilverlinedEagletip opened 5 months ago

SilverlinedEagletip commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

There's an example right here:

https://github.com/mikf/gallery-dl/blob/625740c3d24b07e7d52450c94d875262bd7fbb34/docs/gallery-dl-example.conf#L97-L106

SilverlinedEagletip commented 5 months ago

There's an example right here:

https://github.com/mikf/gallery-dl/blob/625740c3d24b07e7d52450c94d875262bd7fbb34/docs/gallery-dl-example.conf#L97-L106

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?