aboutsummaryrefslogtreecommitdiff
path: root/importer/providers/g_reddit.py
AgeCommit message (Collapse)Author
2021-07-27feat: Move to gallery-dlgabrielgio
As it turns out there is already a project that does what I want but better.
2021-07-18ref: Add test for GRedditgabrielgio
Add test for GReddit. It will check for all necessary variable to be able to login on reddit as it is required by the praw library. Also add mock to the `youtube-dl` download function. It will make the test run faster.
2021-07-18ref: Move to OO implementationgabrielgio
Heavily inspired by the `youtube-dl` implementation I moved to OO implementation where now every source type has its own class, making easy to add new providers. Also new it has a fallback back, where if no provider is chose it will try to download with `YoutubeDlProvideBase`. Add `_TEST` to each class to make it easy to add test to new providers.