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

[Question] (Patreon) What's the differences between the extractor format-images? #6621

Closed
someonenameguy opened this issue Dec 7, 2024 · 2 comments

Comments

@someonenameguy
Copy link

Is there a differences between original and the Default download_url?
I tested for 1 image and they both gave the same BLAKE2sp Hash, so maybe not?

I see that download_url is also the fallback, should I use original?

def _images_url_fmt(self, image):
        try:
            return image["image_urls"][self._images_fmt]
        except Exception:
            return image.get("download_url")

image

@mikf
Copy link
Owner

mikf commented Dec 7, 2024

See #6569 (comment)

The difference between these versions is a base64-encoded path segment that sets certain quality and size parameters. For "original" it is {"q":100,"webp":0}, for "download_url" {"a":1,"p":1}.

@someonenameguy
Copy link
Author

See #6569 (comment)

I see some sort of trans-coding. I just use the download_url.

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