Moved distinction between URL and Search query to frontend
This commit is contained in:
parent
1db90b31e6
commit
5f3e6b9422
|
@ -43,9 +43,6 @@ def search(term, type):
|
|||
return result
|
||||
|
||||
def mainSearch(term):
|
||||
if isValidLink(term):
|
||||
downloadLink(term)
|
||||
return {"message": "Downloaded!"}
|
||||
return dz.search_gw(term)
|
||||
|
||||
def downloadLink(url, bitrate=None):
|
||||
|
|
Loading…
Reference in New Issue