mirror of
https://github.com/thewesker/Video-Archive-Discord-Bot.git
synced 2025-12-20 04:11:05 -05:00
Include reddits direct video domain
This commit is contained in:
@@ -18,7 +18,7 @@ def extractUrl(inputString):
|
|||||||
def isSupportedUrl(url):
|
def isSupportedUrl(url):
|
||||||
response = {'url': '', 'supported': 'false', 'messages': ''}
|
response = {'url': '', 'supported': 'false', 'messages': ''}
|
||||||
|
|
||||||
supportedDomains = ['youtube', 'tiktok', 'instagram', 'reddit']
|
supportedDomains = ['youtube', 'tiktok', 'instagram', 'reddit', 'redd.it']
|
||||||
|
|
||||||
for domain in supportedDomains:
|
for domain in supportedDomains:
|
||||||
if(domain in url):
|
if(domain in url):
|
||||||
|
|||||||
Reference in New Issue
Block a user