Skip to content

Commit

Permalink
Update load_from_findblogs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mabbs authored Jun 20, 2024
1 parent 4836bd8 commit 12cc911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion load_from_findblogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 12cc911

Please sign in to comment.