
Did you fall for one of the latest scams here on Steem?
But you could retrieve your account again and change your keys?
Now you have that incredible task to edit all those spam comments, that have been send out.
This is a real time waster
But I made a script for you!
Comment mass editing
Again, you will need steem-python.
And just some script changes.
But first, here is the script:
from steem import Steem
from steem.blog import Blog
from dateutil import parser
username = 'isnochys'
start_date = '2018-2-24 0:00:00'
end_date = '2018-2-25 0:00:00'
body = 'Comment deleted'
s = Steem()
b = Blog(account_name=username, comments_only=True,steemd_instance=s)
sdp = parser.parse(start_date)
edp = parser.parse(end_date)
for post in b:
if post.created <sdp:
break
if post.created <edp:
post.edit(body)
What to change
3 things have to be adjusted:
username = 'isnochys'that has to be your usernamestart_date = '2018-2-24 0:00:00'when did the comment spamming begin?end_date = '2018-2-25 0:00:00'when did you recover the account and the spamming stopped
Additionally you also can edit body = 'Comment deleted' to whatever you want to say instead.
But always remember:
This post has received a 0.03 % upvote from @drotto thanks to: @banjo.
So I only find out now... lol! 🙄
Fortunately, I had only about 20 comments to edit, so it wasn’t such an impossible job (@kilbride had a lot more).
Thanks for the script. I’m resteeming this, in case others are still in the process of editing comments.
If only I’d knew how to use scripts on SteemIt... 🙃
Does steem phyton provide you with the ability to execute a script like this?
I am sorry for being late.
No, that script is for a server only, where python is installed.
But I think someone already published a github page, where you can faster edit such things...
Ah, here it is:
https://utopian.io/utopian-io/@r351574nc3/new-project-steemit-massive-comment-replace
I did not check that out yet
Congratulations! This post has been upvoted from the communal account, @minnowsupport, by isnochys from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.
If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.