aboutsummaryrefslogtreecommitdiff
path: root/importer/providers/v_reddit.py
blob: 2917feedbaaeedfd454d7ac253fc356a4825872b (plain)
1
2
3
4
5
6
7
8
9
10
from importer.providers.youtube_dl_base import YoutubeDlProviderBase


class VReddit(YoutubeDlProviderBase):
    regex = "^.*v\\.redd\\.it.*$"
    format = 'bestvideo+bestaudio/bestvideo'
    _TEST = [{
        "url": "https://v.redd.it/42j6r7i8z7151",
        "paths": ["source_42j6r7i8z7151.mp4"]
    }]