Compare commits
No commits in common. "a1f37805d35c51f22bb77d3e9c159405277115d6" and "1275ff662d6d00b8d051368f695c6eaa1c88fb22" have entirely different histories.
a1f37805d3
...
1275ff662d
@ -31,7 +31,7 @@ post = next(booru.search_post(args.query))
|
|||||||
text = f"link: {post.content}"
|
text = f"link: {post.content}"
|
||||||
if post.safety == "unsafe":
|
if post.safety == "unsafe":
|
||||||
text += " (nsfw)"
|
text += " (nsfw)"
|
||||||
text += f"source: https://{args.booru}/post/{post.id_}"
|
text += f"\nsource: https://{args.booru}/post/{post.id_}"
|
||||||
|
|
||||||
# post a note :D
|
# post a note :D
|
||||||
Misskey(args.instance, i=args.token).notes_create(text=text)
|
Misskey(args.instance, i=args.token).notes_create(text=text)
|
||||||
|
Loading…
Reference in New Issue
Block a user