Adds support for Twitter

This commit is contained in:
thewesker
2021-09-27 09:53:33 -04:00
committed by GitHub
parent ab56d01fd8
commit b5730e975c

View File

@@ -18,7 +18,7 @@ def extractUrl(inputString):
def isSupportedUrl(url):
response = {'url': '', 'supported': 'false', 'messages': ''}
supportedDomains = ['youtube', 'youtu.be', 'tiktok', 'instagram', 'reddit', 'redd.it']
supportedDomains = ['youtube', 'youtu.be', 'tiktok', 'instagram', 'reddit', 'redd.it', 'twitter']
for domain in supportedDomains:
if(domain in url):