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

Patreon Cloudfare CAPTCHA - Error 403 #629

Closed
Metichi opened this issue Mar 1, 2020 · 5 comments
Closed

Patreon Cloudfare CAPTCHA - Error 403 #629

Metichi opened this issue Mar 1, 2020 · 5 comments

Comments

@Metichi
Copy link

Metichi commented Mar 1, 2020

I just tried to download from a Patreon I just subscribed to and got hit with that error.
The session_id is set as so so I don't think that's the issue

{
	"extractor":
	{
		"base-directory": "${HOME}/Pictures/gallery-dl",
		"archive": "${HOME}/Pictures/gallery-dl/archive",
		"patreon":
		{
			"cookies": {
                "session_id": "SOMETHINGSOMETHING"
                         }
		}
        }
}

Not sure if it's a bug due to a change in cloudflare or if it's because I tried to download with an incorrect configuration and am in timeout.

@mikf
Copy link
Owner

mikf commented Mar 1, 2020

Using OpenSSL 1.1.1 compiled with the right build flags doesn't trigger any Captchas: #508 (comment)

@Metichi
Copy link
Author

Metichi commented Mar 1, 2020

I installed gallery-dl through pip3 and left it as is, so I'm not sure if I'm using that version of OpenSSL or the right build flags, how could I check?

@Metichi
Copy link
Author

Metichi commented Mar 1, 2020

Figured out that I indeed have OpenSSL 1.1.1.
Ran openssl version -f and got this output

openssl version -f
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -fdebug-prefix-map=/build/openssl-D7S1fy/openssl-1.1.1c=. -fstack-protector-strong -Wformat -Werror=format-security -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2

Am I missing anything?

@mikf
Copy link
Owner

mikf commented Mar 1, 2020

The only relevant difference between yours and mine are the additional -DAES_ASM -DBSAES_ASM flags for your OpenSSL version, but rebuilding your SSL/TLS libraries is a bit much, I guess.

Using the standalone Linux binary worked for the other Ubuntu 19.10 user in the issue I linked above, so maybe you could try that ...

@Metichi
Copy link
Author

Metichi commented Mar 1, 2020

Oh, sorry, I didn't recognize the link as a link to another issue. The standalone works wonders, thank you!

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

2 participants