mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-08 22:50:15 +00:00
clean up
This commit is contained in:
@@ -688,13 +688,6 @@ class DownloadApiListView(ApiBaseView):
|
|||||||
|
|
||||||
pending = [i["youtube_id"] for i in to_add if i["status"] == "pending"]
|
pending = [i["youtube_id"] for i in to_add if i["status"] == "pending"]
|
||||||
url_str = " ".join(pending)
|
url_str = " ".join(pending)
|
||||||
# try:
|
|
||||||
# youtube_ids = Parser(url_str).parse()
|
|
||||||
# except ValueError:
|
|
||||||
# message = f"failed to parse: {url_str}"
|
|
||||||
# print(message)
|
|
||||||
# return Response({"message": message}, status=400)
|
|
||||||
|
|
||||||
extrac_dl.delay(url_str, auto_start=auto_start)
|
extrac_dl.delay(url_str, auto_start=auto_start)
|
||||||
|
|
||||||
return Response(data)
|
return Response(data)
|
||||||
|
|||||||
Reference in New Issue
Block a user