from importer.providers.raw_image_base import RawImageProviderBase class IReddit(RawImageProviderBase): regex = "^.*i\\.redd\\.it.*\\.(jpg|jpeg|gif)$" _TEST = [ { "url": "https://i.redd.it/pjj1ll1b2rr41.jpg", "paths": ["source_pjj1ll1b2rr41.jpg"] }, { "url": "https://i.redd.it/55vpi6ol5jc71.gif", "paths": ['source_55vpi6ol5jc71.gif'] } ]