mikf / gallery-dl

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

Help figuring out URL #589

Closed RonaldBolado closed 4 years ago

RonaldBolado commented 4 years ago

Zinio's platform has covers of several magazines and I have reason to believe they store covers in a much high resolution in their servers.

https://www.zinio.com/br-pt/cosmopolitan-m8306 Cover URL: https://cdn-assets.ziniopro.com/var/site_142/storage/images/media2/cover237/606389-1-eng-GB/cover2.jpg?h=675 https://cdn-assets.ziniopro.com/var/site_142/storage/images/media2/cover237/606389-1-eng-GB/cover2.jpg

I remove ?h=675 and it gets a little bigger but not so much. I'm wondering if altering any of the values between brackets will yield a bigger image. Anyone has any idea?

mikf commented 4 years ago

Using h=0 (or h=-1) gets a 6343x8900 version; probably original size, but still re-compressed. https://cdn-assets.ziniopro.com/var/site_142/storage/images/media2/cover237/606389-1-eng-GB/cover2.jpg?h=0

q=… seems to set JPEG compression quality; h=0&q=100 gets a big 28 MB version https://cdn-assets.ziniopro.com/var/site_142/storage/images/media2/cover237/606389-1-eng-GB/cover2.jpg?h=0&q=100

o=1&q=100 also does something https://cdn-assets.ziniopro.com/var/site_142/storage/images/media2/cover237/606389-1-eng-GB/cover2.jpg?o=1&q=100

RonaldBolado commented 4 years ago

Using h=0 (or h=-1) gets a 6343x8900 version; probably original size, but still re-compressed. https://cdn-assets.ziniopro.com/var/site_142/storage/images/media2/cover237/606389-1-eng-GB/cover2.jpg?h=0

q=… seems to set JPEG compression quality; h=0&q=100 gets a big 28 MB version https://cdn-assets.ziniopro.com/var/site_142/storage/images/media2/cover237/606389-1-eng-GB/cover2.jpg?h=0&q=100

o=1&q=100 also does something https://cdn-assets.ziniopro.com/var/site_142/storage/images/media2/cover237/606389-1-eng-GB/cover2.jpg?o=1&q=100

Where can I read about all these parameters?

Hrxn commented 4 years ago

I don't think that those are documented anywhere, to be honest..

mikf commented 4 years ago

Yeah, I was just playing around and tried a few things. There is no documentation that I know of.

RonaldBolado commented 4 years ago

Thanks everyone (: