From e0524c5449df460cd5385c8580f0103fb29b71d3 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Thu, 29 Sep 2022 20:32:06 +0800 Subject: [PATCH] =?UTF-8?q?=20=E9=A1=B5=E9=9D=A2=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E5=99=A8=E7=9B=B8=E5=85=B3=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto_pt/views.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/auto_pt/views.py b/auto_pt/views.py index 812f0da..74a1203 100644 --- a/auto_pt/views.py +++ b/auto_pt/views.py @@ -111,7 +111,11 @@ def get_downloading(request): # torrents = qb_client.torrents_info() main_data = qb_client.sync_maindata() torrent_list = main_data.get('torrents') - print(type(torrent_list)) + categories = main_data.get('categories') + # print(main_data.get('server_state')) + # print(transfer) + # print(categories) + # print(json.dumps(main_data)) torrents = [] for index, torrent in torrent_list.items():