Mass Comment Editing
aftermath·@isnochys·
0.000 HBDMass Comment Editing
 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 username - ```start_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: ## Never give your keys to unknown sources. Check the URL twice! <h5>Impressed by my python skills? Or not? Anyway, you can <a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=isnochys&approve=1" rel="nofollow noopener">vote for me</a> as <a href="https://steemit.com/~witnesses">witness</a> and get a passive income doing so.</h5>
👍 isnochys, mecurator, bluetechno, earnonlinewith, traba-emo, desmond41, yourluckyphotos, steemwildboy, onyemacourage, plasmachicken, karolisp, royaleagle, bekoilham, erebus, bypaul, istiak, sarahlouise, repu-tacion, md3, promo-steemrural, banjo, bryner, drotto, twoeightjune, daynewright, miketr, aandebickel, wond2006, mcmonkey, thi-js, tygertyger, magic-sasquatch, caroliny, slider2990, elizabetjonason, briggsy, donwhale, basicstoliving, kouloumos, rvgenaille, symphonyofechoes, minnowsupport, pharesim, an0na, gamsam, dahaz159, mpw, afrasyabmaier, vjbasil, bellyrub, don-don, letc, pravinsuthar, askquestion, steemdrive, sethlinson, maurocostarica, aftabkhan10, malekalmsaddi, markperandin, rantar, bashadow, roykie17, torachibi, curitek, inkedandsexy, magnus19, telos, edolo, norgesarkaden, siersod, blockchainttmft, raci, mazzle, thelifeofjord, cstrimel, kdee916, samhamou, davedickeyyall, thabiggdogg, minnowboosted, greycrasan, costopher,