The Anonymous Winfrey Bot! - UPVOTES FOR EVERYONE! - DOWNLOAD HERE - EASY STEPS - FOR N00BS!

in #socialist-bot8 years ago

UPVOTES FOR EVERYONE!

In the Spirit of Christmas, and Inspired by Oprah Winfrey Show - Here comes "The Anonymous Winfrey Bot" for all of you who wants to upvote everyone :) I have been running this bot now for 3-4 days, and amazingly it has not crashed or had any problems.

The 3 Simple Tasks You Must Do First!

Now You Are Ready To Use The Anonymous Winfrey Bot!

Download The Anonymous Winfrey Bot Here

Inside the ZIP-File you will find two files. The crazy.py and the crazy.txt and for full transparency this is how they look like. If you need any help setting them up or fiddle with the settings, please come to SteemSpeak and we will help you as best we can.

crazy.py

from piston.steem import Steem
from piston.steem import BroadcastingError
import threading
import time
import random
import csv
 
# my favorite blogs on steemit
top_writers = []

# add my favorites
my_favorites = []
 
with open('crazy.txt', mode='r') as infile:
    reader = csv.reader(infile)
    for rows in reader:
        v = rows[0]
        top_writers.append(v)
 
my_subscriptions = top_writers + my_favorites
account = ["your-account-name"]
posting_key = ["your-posting-key"]
active_key = []
vote_delay = random.randrange(1201,1801)
 
upvote_history = []
 
def feed():
    print("Waiting for new posts by %s\n" % my_subscriptions)
    steem = Steem(wif=posting_key[0])
    for comment in steem.stream_comments():
 
        if comment.author in my_subscriptions:
            # Comments don't have titles. This is how we can know if we have a post or a comment.
            if len(comment.title) > 0:
 
                # check if we already upvoted this. Sometimes the feed will give duplicates.
                if comment.identifier in upvote_history:
                    continue
 
                print("New post by @%s %s" % (comment.author, url_builder(comment)))
                workerThread = threading.Thread(name=comment.identifier, target=worker, args=(comment,))
                workerThread.start()
 
# send $0.1 in SBD
def send_a_tip(author):
    steem = Steem(wif=active_key)
    steem.transfer(author, 0.001, "SBD", memo="I love your blog. Here is a small gift for you.", account=account)
 
 
def url_builder(comment):
    return "https://steemit.com/%s/%s" % (comment.category, comment.identifier)
 
def worker(worker_comment):
     time.sleep(vote_delay)
     try:
       for (k,v) in enumerate(account):
         worker_steem = Steem(wif=posting_key[k])
         upvote_comment = worker_steem.get_content(worker_comment.identifier)
         upvote_comment.vote(10, v)
         print("====> Upvoted")
         upvote_history.append(upvote_comment.identifier)
     except BroadcastingError as e:
       print("Upvoting failed...")
       print("We have probably reached the upvote rate limit.")
       print(str(e))
 
       if upvote_comment.author in my_favorites:
         send_a_tip(upvote_comment.author)
         print("====> Sent $0.01 SBD to @%s" % upvote_comment.author)
 
 
if __name__ == "__main__":
    while True:
        try:
            feed()
        except (KeyboardInterrupt, SystemExit):
            print("Quitting...")
            break
        except Exception as e:
            traceback.print_exc()
            print("### Exception Occurred: Restarting...")

So, the above python-script is the instructions for your bot, but you need to put in your own account-name (without the @) and the private posting-key for that account. If you have multiple accounts, you can comma-separate them on the same line, and the same with your private posting-keys if you run a curation-guild or something like that.

crazy.txt

fyrstikken
furion
contentjunkie
xeroc
steempowertwins
... and 120,000+ accounts, basically every account on STEEMIT prior to this post :D

This is where you store the people you want to upvote, you can add as many as you want. The bot was originally created by @furion, upgraded and maintained by @contentjunkie, tested hard and brutally by @fyrstikken and @xeroc of course is the brilliant mind behind Piston.

This is how you run The Anonymous Winfrey Bot


You can either doubleclick or open your Anonymous Winfrey Bot with Python3, or you can use command-lines. I will show you two command-lines you can use to make the bot run:

  • The First Method


    Open a Terminal-Window and use the following command from the directory your bot-files are placed:

python3 crazy.py
This command will run your bot, but if it crashes and refuse to restart in the middle of the night, that is a problem so a little hack around that problem by @inertia is to use this command instead from the terminal-window:

  • The Second Method


    Open a Terminal-Window and use the following command from the directory your bot-files are placed:

while :; do python3 crazy.py; sleep 5; done
This command will make your bot loop, so if it crashes - it will wait 5 seconds and start it up again.

Download The Anonymous Winfrey Bot


Merry Christmas :)

To make me a Proxy for your witness-votes go to: https://steemit.com/~witnesses and type in fyrstikken in the proxy-field

Sort:  

Amazing stuff. Silly newbie questions, maybe you are patient enough to give me some hints.

Does this run on any platform? This si just software, right? It does not need any extra or special hardware, right? Why do other bots require an Arduino type card?

Thank you very much for this info. I´ll continue reading and learning. I have a computer with W7, one with W10, and a tiny little one with Linux Mint . Maybe I can make good use of them, finally.

Shared on twitter so more people may consider voting for everyone!

Steem_Land Steem_Land tweeted @ 23 Dec 2016 - 16:52 UTC

The Anonymous Winfrey Bot! - UPVOTES FOR EVERYONE! - DOWNLOAD HERE - EASY STEPS - FOR N00BS!

steemit.com/socialist-bot/… / https://t.co/YsMerQ3Kwu

@steemit @steemiobot

Disclaimer: I am just a bot trying to be helpful.

Tengo este error:
Traceback (most recent call last):
File "C:\Bot\Anonymous-Winfrey-Bot (1)\crazy.py", line 1 , in module>
from piston.steem import Steem
ModuleNotFoundError: No module named piston

follow the step-by-step instructions in the post. You need to install Piston by @xeroc

I do the installation on windows of this file: piston-win32-0.4.0-setup.exe?

Try moving crazy.py and crazy.txt into your piston folder and run it from there

In crazy.py change
from piston.steem import Steem
to
from steem.steem import Steem

See if that solves it, if so also change
from piston.steem import BroadcastingError
to
from steem.steem import BroadcastingError

Very nice generosity! I did learn to code back in the 70s (BASIC hehe) with all the code saved on 'ticker tape' (yes yes, I'm that old), but I think I'll just keep upvoting the old-fashioned way :-)

I admire you more and more!

Awww, gee thanks meesterboom :-)

Merry Christmas to you and yours!

Great post vote and resteemed.
Gran post te voto y te hago resteemed
Follow me please:
https://steemit.com/introduceyourself/@germanaure/hello-steemians-introduceyourself

great addition to yesterdays share :)))

I am new to steemit, but I think it is against the rules or at least unethical, and spreading such methods would be unfair to people who actually spend time to create high quality content which after all is the community's goal.

Quality Content will get manually upvoted with higher % anyway - to have the bots running 24/7 is just good for active people.

as I said I am new here and I was concerned about breaking the rules etc..., if it is ok I am gonna use it as well then :)

Yeah, as Fyr mentions, you should not be concerned about the impact the bot would have. The manual votes, generally speaking do get higher %s. The bot, is playing a Santa Claus role :D

thanks :)

for most good authors good comment with honest feedback is more valuable than a vote. High quality curation is not only about voting.

Awesome! I will probably implement this. I looked at your voting power and it is putting it around 62% so it isn't totally crushing your voting power because of the amount of posts being put up.
Awesome new footer by the way as well! That is nice!

you can regulate the voting %, it is currently set on 10%

How can a bot tell the difference between quality content and trash? In a systemic context voting without this difference will cause a decrease of quality content and an increase of trash. What do you think about it? It is what I have learned about cybernetical interaction.

oh, it can´t :)
this bot will vote for absolutely everything :D

Please don't downvote one of my posts again. I don't want anything to do with you.

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.028
BTC 60157.45
ETH 2345.98
USDT 1.00
SBD 2.47