mirror of
https://gitlab.com/RemixDev/deemix-py.git
synced 2025-01-01 12:46:11 +00:00
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 a new issue