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):
|
||||
response = {'url': '', 'supported': 'false', 'messages': ''}
|
||||
|
||||
supportedDomains = ['youtube', 'tiktok', 'instagram', 'reddit']
|
||||
supportedDomains = ['youtube', 'tiktok', 'instagram', 'reddit', 'redd.it']
|
||||
|
||||
for domain in supportedDomains:
|
||||
if(domain in url):
|
||||
@@ -29,4 +29,4 @@ def isSupportedUrl(url):
|
||||
response['messages'] = "Information: Supplied URL is not a supported domain. To force TikBot to attempt it anyway, include a '🤖' in your message."
|
||||
print(response['messages'])
|
||||
return response
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user