diff --git a/validator.py b/validator.py index efc0d06..de4cf34 100644 --- a/validator.py +++ b/validator.py @@ -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 - \ No newline at end of file +