MarshalX / atproto

The AT Protocol (🦋 Bluesky) SDK for Python 🐍
https://atproto.blue
MIT License
391 stars 42 forks source link

how to get a video (blob + video)? #440

Closed TeteuXD2 closed 6 days ago

TeteuXD2 commented 1 week ago

i only get the post's without the video, it just gets the blob link

for link in media_links: try: if link.startswith("blob:"): Handle blob links blob_ref = link.split(":")[1] response = requests.get(f"https://video.bsky.app/watch/{blob_ref}/playlist.m3u8", stream=True)