Commit Graph

11 Commits (5ee26a8f644dad680178b235ac3f1fbdfa453fcb)

Author SHA1 Message Date
Mike Lang 9d45833ed1 fix returning wrong thing 4 months ago
Mike Lang 3bbedde112 download_media: Handle relative urls in redirect 4 months ago
Mike Lang e8ff4ed144 fix parsing certain imgur album links 4 months ago
Mike Lang fd0f0399fc Don't use ExceptionGroup because upgrading python is too painful 4 months ago
Mike Lang a0ca96aff6 download_media: Get imgur links working and add test script 4 months ago
Mike Lang c2ff2dfbb1 download_imgur_url: Clarify not handling i.imgur.com 4 months ago
Mike Lang 83f18eda84 download_media: Special casing for imgur 4 months ago
Mike Lang 9dfb00f4ab chat_archiver: Logic for checking and downloading media links 5 months ago
Mike Lang 2855ec759d download_media: Add pdf to default allowed content types
We want to capture linked PDFs in addition to videos and images
5 months ago
Mike Lang b46c577014 download_media: Add function for checking if a URL has been downloaded before 5 months ago
Mike Lang 352c9e9081 download_media: Get data from potentially malicious URLs and store in the filesystem
This is suitable for taking arbitary URLs from chat, etc and trying to fetch them.
It downloads them to a filepath that contains a hash of the URL and content.
5 months ago