Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Issue with zzup "Cloudflare challenge" #6169

Answered by mikf
KrankedCLS asked this question in Q&A
Discussion options

zzup basically stopped working with gallery-dl and this error pops up:
[zzup][warning] Cloudflare challenge [zzup][error] HttpError: '403 Forbidden'

I assume they changed something and now gallery-dl isn't able to work its magic?

You must be logged in to vote

See #5791 (comment)

$ gallery-dl https://zzup.com/content/NjM=/MetArt_20080206_viki_c_sensazioni_by_ingret/OTE=/index.html
[zzup][warning] Cloudflare challenge
[zzup][error] HttpError: '403 Forbidden' for 'https://zzup.com//content/NjM=/MetArt_20080206_viki_c_sensazioni_by_ingret/OTE=/index.html'
$ gallery-dl https://zzup.com/content/NjM=/MetArt_20080206_viki_c_sensazioni_by_ingret/OTE=/index.html --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0" --cookies cookies-zzup-com.txt 
./zzup/MetArt 20080206 viki c sens...0206_viki_c_sensazioni_by_ingret_001.jpg
./zzup/MetArt 20080206 viki c sens...0206_viki_c_sensazioni_by_ingret_002.jpg
./zzup/MetArt 20080206 vi...

Replies: 4 comments 8 replies

Comment options

See #5791 (comment)

$ gallery-dl https://zzup.com/content/NjM=/MetArt_20080206_viki_c_sensazioni_by_ingret/OTE=/index.html
[zzup][warning] Cloudflare challenge
[zzup][error] HttpError: '403 Forbidden' for 'https://zzup.com//content/NjM=/MetArt_20080206_viki_c_sensazioni_by_ingret/OTE=/index.html'
$ gallery-dl https://zzup.com/content/NjM=/MetArt_20080206_viki_c_sensazioni_by_ingret/OTE=/index.html --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0" --cookies cookies-zzup-com.txt 
./zzup/MetArt 20080206 viki c sens...0206_viki_c_sensazioni_by_ingret_001.jpg
./zzup/MetArt 20080206 viki c sens...0206_viki_c_sensazioni_by_ingret_002.jpg
./zzup/MetArt 20080206 viki c sens...0206_viki_c_sensazioni_by_ingret_003.jpg
...
You must be logged in to vote
0 replies
Answer selected by KrankedCLS
Comment options

I'm a total beginner when it comes to this so excuse my ignorance. I figured out user agent and then created the cookie file. Then created a batch file with this:
gallery-dl https://zzup.com/content/NjM=/MetArt_20080206_viki_c_sensazioni_by_ingret/OTE=/index.html --cookies zzup.txt --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0"

It downloaded around 107 images and started reporting errors, now the HttpError: '403 Forbidden' error is back.

EDIT: i refreshed the cookie data and seems to be working now, thanks for the help!

You must be logged in to vote
1 reply
Comment options

Hello KrankedCLS,I also have this exact same issue with this website. I was wondering how did you create the cookie file (zzup.txt) and why you didn't specify a path in your command line ?
I tried to generate the .txt with export cookie add on firefox and specifying the path in the command line but I still get the error:

gallery-dl https://zzup.com/content/MTY1MTc1NQ==/2017_05_14_xl_bree_g/MQ==/index.html --cookies /home/myusername/Documents/cookies.txt --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0"
[zzup][warning] Cloudflare challenge
[zzup][error] HttpError: '403 Forbidden' for 'https://zzup.com//content/MTY1MTc1NQ==/2017_05_14_xl_bree_g/MQ==/index.html' 

I suspect something is wrong with the file.

Comment options

I installed the "edit this cookie" firefox extension, it'll let you copy paste the data into the cookies file. I didn't bother setting up a config file because i'm a total noob.

EDIT: For anyone reading this at a later date...the copy paste actually needs to be created with the EXPORT option at the top of "edit this cookie" extension. The copy paste will generate 5 lines, not just the cf_clearance data

You must be logged in to vote
7 replies
Comment options

P.S.: To answer your other question...the reason i didn't specify a path is because the cookies file is in the same folder as the executable and i'm not using a config file, i just been using a straight forward setup without issues until zz updated their site.

Comment options

@KrankedCLS Thanks again for the help.

I changed the format export to Netscape then I copied/pasted the value field to cookies.txt but I still get the same error.

[zzup][warning] cookies: not enough values to unpack (expected 7, got 1)
[zzup][warning] Cloudflare challenge
[zzup][error] HttpError: '403 Forbidden' for 'https://zzup.com//content/MTY1MTc1NQ==/2017_05_14_xl_bree_g/MQ==/index.html'

Maybe I did something wrong ?

I found it strange because I also tried Export Cookies addon to directly export .txt file and the cookies works without error but I still get the error:

[zzup][warning] Cloudflare challenge
[zzup][error] HttpError: '403 Forbidden' for 'https://zzup.com//content/MTY1MTc1NQ==/2017_05_14_xl_bree_g/MQ==/index.html'
Comment options

You are using the wrong copy paste method. What you have to do is click EXPORT at the top (i guess i wasn't clear enough, sorry!), you see that arrow pointing right?...that's the export option. It will export in the correct formatting. You should have 5 lines that relate to zzup. Not just one big line.


# Netscape HTTP Cookie File
# http://curl.haxx.se/rfc/cookie_spec.html
# This file was generated by EditThisCookie
.zzup.com	TRUE	/	TRUE	1757822735	cf_clearance	a bunch of characters here
.zzup.com	TRUE	/	FALSE	1726345720	count	5000
.zzup.com	TRUE	/	FALSE	1726345720	level_id	1
.zzup.com	TRUE	/	FALSE	1726345720	zzupid	41014
.zzup.com	TRUE	/	FALSE	1726345720	zzupuser	username

Also make sure you login to zzup and use that updated cookie....create an account if you don't have one, you should see your username at the bottom of the cookies.txt. Once you get it working, remember that you'll have to update the cookies when you get the error again.

Comment options

The cookie are working great now , thank you ! I still had the issue with cloudflare challenge error but after a few searches I stumbled upon this thread mentioning that the user agent and the cookies you generated must match and now everything is working perfectly !

Comment options

Awesome, glad you were able to finally get it to work.

Comment options

When does the zzup.com site come back online? It always shows the AI Porn Pix site.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /