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

Furaffinity #2095

Closed AppleCanon closed 2 years ago

AppleCanon commented 2 years ago

I noticed that when using gallery-dl, it doesnt work on folders but rather grabs a random few from the main gallery. Is this a feature that is supported and its just my end or is it not yet

kattjevfel commented 2 years ago

Sounds like you're trying to access a NSFW gallery while not signed in, you must add the a and b cookies like so:

"furaffinity": {
    "cookies": {
        "a": "<redacted>",
        "b": "<redacted>"
    }
},
VanishingBlaze commented 2 years ago

Sounds like you're trying to access a NSFW gallery while not signed in, you must add the a and b cookies like so:

"furaffinity": {
    "cookies": {
        "a": "<redacted>",
        "b": "<redacted>"
    }
},

What's the a and b cookies? I'm only familiar with entering --cookies

kattjevfel commented 2 years ago

that's what furaffinity.net calls their cookies, which are used for login. just open the dev console in your browser (F12), go to Storage and copy the values of a and b into your config, and you're good to go!

They say a picture is better than a thousand words... asdf

VanishingBlaze commented 2 years ago

Alright thank you. That's helped find a and b cookies. Where is the config and where do I enter them in at?

AppleCanon commented 2 years ago

that's what furaffinity.net calls their cookies, which are used for login. just open the dev console in your browser (F12), go to Storage and copy the values of a and b into your config, and you're good to go!

They say a picture is better than a thousand words... asdf

How do I create a config, I've been using PowerShell?

mikf commented 2 years ago

How do I create a config

Create a new, empty file at one of the locations listed here or copy the default config file (make sure the filename is correct). After that you can add your cookies like in https://github.com/mikf/gallery-dl/issues/2095#issuecomment-991795885. There's also a section about cookies in the README.