Code Monkey home page Code Monkey logo

twitter-bot-with-selenium's Introduction

Twitter Bot With Selenium

This bot is created with python and selenium. Tweets random picture and author of it. I used geckodriver for firefox webdriver.

Example Twitter Account

Use

  • You need to download webdriver for browser that you are using and you need to put exe file into your project folder.
  • Used firefox webdriver in this project, if you want to use Chrome you need to make edits.
  • You need to use account_info.txt file same as the example ->(email password) or (username password). There is only one blank line between email and password.
  • If you want to host this bot in any server. You need to change variable IS_RUNNING_ON_SERVER (in main.py) to True.
  • If you want to host local you need to automate with services of your operation system.
  • Logging in only one time is enough, then program saves cookies and use cookies for opening twitter account. So twitter does not block account.

Run

  • python main.py

Used External Libraries

  • urllib
  • requests
  • BeautifulSoup
  • selenium

twitter-bot-with-selenium's People

Contributors

etopuz avatar

Stargazers

 avatar

Watchers

 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.