From 5f3e6b9422a84c25be3eddc9b32d6f2bd9bc40c7 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Wed, 8 Apr 2020 19:01:50 +0200 Subject: [PATCH] Moved distinction between URL and Search query to frontend --- deemix/app/main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/deemix/app/main.py b/deemix/app/main.py index 45a6efe..82e3f0d 100644 --- a/deemix/app/main.py +++ b/deemix/app/main.py @@ -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):