1 2 3 4 5 6 7 8 9
from importer.providers.raw_image_base import RawImageProviderBase class IReddit(RawImageProviderBase): regex = "^.*i\\.redd\\.it.*\\.(jpg|jpeg)$" _TEST = [{ "url": "https://i.redd.it/pjj1ll1b2rr41.jpg", "paths": ["source_pjj1ll1b2rr41.jpg"] }]