diff --git a/load_from_findblogs.py b/load_from_findblogs.py index cfac6fa..b0b5293 100644 --- a/load_from_findblogs.py +++ b/load_from_findblogs.py @@ -11,7 +11,7 @@ break aaa_a = [urllib.parse.urlparse(i["url"]).netloc for i in sites] -bbb_b = [urllib.parse.urlparse(i["url"]).netloc for i in requests.get("https://zhblogs.ohyee.cc/api/blogs?size=-1").json()] +bbb_b = [urllib.parse.urlparse(i["url"]).netloc for i in requests.get("https://zhblogs.ohyee.cc/api/blogs?size=-1").json()["data"]["blogs"]] r = set(aaa_a) - set(bbb_b) newlist = [] for i in sites: