aboutsummaryrefslogtreecommitdiff
path: root/importer/providers/imgur.py
blob: dd8fb6e065c9c806b21050e0a24db6d2822edb00 (plain)
1
2
3
4
5
6
7
8
9
from importer.providers.raw_image_base import RawImageProviderBase


class Imgur(RawImageProviderBase):
    regex = "^.*i\\.imgur\\.com.*\\.(jpg|jpeg)$"
    _TEST = [{
        "url": "https://i.imgur.com/fXLMjfp.jpg",
        "paths": ["source_fXLMjfp.jpg"],
    }]