Remove duplicate entries
This commit is contained in:
@@ -40,10 +40,6 @@ class DownloadFactory:
|
|||||||
return Gallery
|
return Gallery
|
||||||
elif re.match(r'gfycat\.', sanitised_url):
|
elif re.match(r'gfycat\.', sanitised_url):
|
||||||
return Gfycat
|
return Gfycat
|
||||||
elif re.match(r'(redgifs|gifdeliverynetwork)', sanitised_url):
|
|
||||||
return Redgifs
|
|
||||||
elif re.match(r'(m\.)?imgur.*', sanitised_url):
|
|
||||||
return Imgur
|
|
||||||
elif re.match(r'reddit\.com/r/', sanitised_url):
|
elif re.match(r'reddit\.com/r/', sanitised_url):
|
||||||
return SelfPost
|
return SelfPost
|
||||||
elif re.match(r'(m\.)?youtu\.?be', sanitised_url):
|
elif re.match(r'(m\.)?youtu\.?be', sanitised_url):
|
||||||
|
|||||||
Reference in New Issue
Block a user