Add Patreon image support

This commit is contained in:
Serene-Arc
2021-12-19 13:44:24 +10:00
parent 5288b79d1b
commit 36ff95de6b
3 changed files with 11 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ from bdfr.site_downloaders.youtube import Youtube
('https://vimeo.com/channels/31259/53576664', YtdlpFallback),
('http://video.pbs.org/viralplayer/2365173446/', YtdlpFallback),
('https://www.pornhub.com/view_video.php?viewkey=ph5a2ee0461a8d0', PornHub),
('https://www.patreon.com/posts/minecart-track-59346560', Gallery),
))
def test_factory_lever_good(test_submission_url: str, expected_class: BaseDownloader, reddit_instance: praw.Reddit):
result = DownloadFactory.pull_lever(test_submission_url)