Moved distinction between URL and Search query to frontend

This commit is contained in:
RemixDev 2020-04-08 19:01:50 +02:00
parent 1db90b31e6
commit 5f3e6b9422
1 changed files with 0 additions and 3 deletions

View File

@ -43,9 +43,6 @@ def search(term, type):
return result return result
def mainSearch(term): def mainSearch(term):
if isValidLink(term):
downloadLink(term)
return {"message": "Downloaded!"}
return dz.search_gw(term) return dz.search_gw(term)
def downloadLink(url, bitrate=None): def downloadLink(url, bitrate=None):