aboutsummaryrefslogtreecommitdiff
path: root/importer/providers/v_reddit.py
diff options
context:
space:
mode:
Diffstat (limited to 'importer/providers/v_reddit.py')
-rw-r--r--importer/providers/v_reddit.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/importer/providers/v_reddit.py b/importer/providers/v_reddit.py
new file mode 100644
index 0000000..2917fee
--- /dev/null
+++ b/importer/providers/v_reddit.py
@@ -0,0 +1,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"]
+ }]