From 5621d023ec9a7943fd2c6ce829a8afe442e76083 Mon Sep 17 00:00:00 2001 From: hihell Date: Tue, 23 Nov 2021 21:01:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...5\260\346\215\256\351\207\207\351\233\206.py" | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 "NO63/csdn\347\262\211\344\270\235\346\225\260\346\215\256\351\207\207\351\233\206.py" diff --git "a/NO63/csdn\347\262\211\344\270\235\346\225\260\346\215\256\351\207\207\351\233\206.py" "b/NO63/csdn\347\262\211\344\270\235\346\225\260\346\215\256\351\207\207\351\233\206.py" new file mode 100644 index 0000000..d9f1ac8 --- /dev/null +++ "b/NO63/csdn\347\262\211\344\270\235\346\225\260\346\215\256\351\207\207\351\233\206.py" @@ -0,0 +1,16 @@ +import json + + +class GetFans(object): + def response(self, flow): + start_url = "https://blog.csdn.net/community/home-api/v1/get-fans-list" + + response = flow.response + if flow.request.url.startswith(start_url): + text = response.text + data = json.loads(text) + print(data) + +addons = [ + GetFans() +] -- GitLab