Gallery-dl: [Site request] Patreon

Created on 23 Apr 2019  路  7Comments  路  Source: mikf/gallery-dl

Hey, can you support Patreon? if you can, make sure the file-attachment and date is supported. username and password may be needed for this function

site-support-request

Most helpful comment

Patreon extractors are done. You can download from a specific creator page (https://www.patreon.com/<creator_name>) or your own account's feed (https://www.patreon.com/home)

To get paid rewards, you have to somehow get a session_id cookie from your browser and make it known to gallery-dl. Either with a cookie file and --cookies, or as a direct entry in your config file:

        "patreon": {
            "cookies": {
                "session_id": "..."
            }
        },

(a session_id cookie is valid for 28 days, but its lifetime might get extended whenever you visit patreon.com (?) ... not sure)

All 7 comments

An account for testing purposes my be required, otherwise access to 'premium' content is likely not possible. And this would kinda defeat the purpose of this site.

An account for testing purposes my be required

that is why I said, "username and password may be needed for this function." But still, the most challenging thing is the testing

This was my subtle way of asking if you would be willing to provide an account for testing purposes,

You can send me an email.

I've been playing around with Patreon's OAuth API for quite a bit, only to realize that there is no way to download rewards with it. It is only really useful if you are a creator and want to decide if one of your patrons should be allowed to access a specific reward, but rather useless if you are a patron yourself. (https://www.patreondevelopers.com/t/api-for-patrons/130)

There are, however, internal undocumented API endpoints that allow you to get a creator's posts and its rewards: https://www.patreon.com/api/stream and https://www.patreon.com/api/posts. So that's what I'll be using, but these endpoints don't recognize OAuth tokens and logging into Patreon is impossible ("protected by reCAPTCHA", verification emails). The only remaining option would be to login in your browser and export your cookies (just the session cookie might be enough).

Patreon extractors are done. You can download from a specific creator page (https://www.patreon.com/<creator_name>) or your own account's feed (https://www.patreon.com/home)

To get paid rewards, you have to somehow get a session_id cookie from your browser and make it known to gallery-dl. Either with a cookie file and --cookies, or as a direct entry in your config file:

        "patreon": {
            "cookies": {
                "session_id": "..."
            }
        },

(a session_id cookie is valid for 28 days, but its lifetime might get extended whenever you visit patreon.com (?) ... not sure)

thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

w158297 picture w158297  路  4Comments

colpocleisis picture colpocleisis  路  3Comments

indrakaw picture indrakaw  路  4Comments

jtara1 picture jtara1  路  6Comments

Nippey picture Nippey  路  4Comments