Giter Site home page Giter Site logo

py_spam's Introduction

WELCOME TO THE JUNGLE

PYGRAM, HOW TO, AND STUFF

###UPDATE THE constants.py

username: = add the username for the instagram account

user_secret: = add the pw for the instagram account

instagram_home: = always is 'https://instagram.com/'

winnerName: add winner name so they will be excluded from emails

post_short_code: add shortcode (CW9Fh_As_1g is the short code for https://www.instagram.com/p/CW9Fh_As_1g/)

message: the personalized message you want to send them

!!REQUIRED!!

Python3

#RUN on the commandline

example flow:

  • you've updated the constants file

    • i know, there are better ways to do this, but it is a POC
  • run python3 generate.py, Grab a coffee, this will take some time to run. It will generate 4 files of instagram users that commented on a specific post

    • splitting these so we can run multiple dm programs.
    • 4 is the default because why not?
  • run python instadm.py

  • when prompted you can enter username_1.txt

    • or username_2.txt (the world is your oyster)
  • all the users in username_1.txt will be sent a DM with the message you wrote in constants

  • TO STOP THE PROGRAM: press CONTROL + C

TroubleShooting

  • I expect something annoying will be if you have a different version of chrome than the chrome driver. Potentially you will need to download the chromedriver that matches your google chrome version
  • This is a POC and needs proper quality control before it can be a real boy
  • I feel like this README sounds snarky... I'm sorry, I am cooler than this documentation can express

py_spam's People

Contributors

jeffwhenderson avatar 442291 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.