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

@@ -33,6 +33,8 @@ class DownloadFactory:
return Erome
elif re.match(r'reddit\.com/gallery/.*', sanitised_url):
return Gallery
elif re.match(r'patreon\.com.*', sanitised_url):
return Gallery
elif re.match(r'gfycat\.', sanitised_url):
return Gfycat
elif re.match(r'(m\.)?imgur.*', sanitised_url):