#πŸ”’ download image from blob url using requests?

10 messages Β· Page 1 of 1 (latest)

frozen mountain
#

hey everyone, so basically what i'm trying to do is download an image (jpeg) from a blob url eg. β€œblob:https://example.com/df8119f0-ebf8-463f-a7dc-21b430e105c9”
from what i've read apparently blob urls are created by the browser so i'm not sure if its possible to get and download the image with python requests.
thanks!

rustic gorgeBOT
#

@frozen mountain

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

naive halo
#

no, they're in memory. though it depends on how those blobs are created. it might just come from somewhere else that you could extract instead, but I wouldn't hope on it.

frozen mountain
#

hmm do you think using selenium to get it would work?

hallow mountain
#

it's a lot of unnecessary overhead

frozen mountain
#

yeah

#

im just tryna think how else to do it

rustic gorgeBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.