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

How to download exact BlobRef? #3378

Open
rickhg12hs opened this issue Jan 16, 2025 · 0 comments
Open

How to download exact BlobRef? #3378

rickhg12hs opened this issue Jan 16, 2025 · 0 comments

Comments

@rickhg12hs
Copy link

rickhg12hs commented Jan 16, 2025

Using Python and the atproto package, I can get an author's feed. Within the feed is a BlobRef for a PNG image.
[portion of ipython session]

In [77]: feed.feed[0].post.record.embed.images[0].image
Out[77]: BlobRef(mime_type='image/png', size=72222, ref=IpldLink(link='bafkreias4bytfzfvpdizwrkb22gq5ticsvjaxosog4yrtv2u25n5y5eere'), py_type='blob')

How can I download this PNG? The URL given by fullsize=... is not the exact image shown in BlobRef - the "fullsize" image is a different download size (the download size is larger!) and is missing embedded metadata.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant