aboutsummaryrefslogtreecommitdiff
path: root/importer/providers/i_reddit.py
blob: 797ce430038abc26ac53953a546d0a9535d33437 (plain)
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"]
    }]