Skip to content

A simple python script that automatically posts tweets of links of latest articles in Fedora Magazine along with their titles

Notifications You must be signed in to change notification settings

ADV1K/SeleniumTwitterBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SeleniumTwitterBot

Now make your own TwitterBot in python in as less as 4 lines.

just simply edit make your username and password in the mybot.py and run the script.

Fedora Magazine Bot - GCI Task

Twitter Bot for posting articles from Fedora Magazine. see: fedora_magazine_bot.py

  • a python script that automatically posts tweets of links of latest articles in Fedora Magazine along with their titles.

Creating a simple bot

# Import the TwitterBot class
from twitterbot import TwitterBot

# create a new bot
bot = TwitterBot("my_username", "my_secret_password")

# tweet
bot.tweet("Hello world from python and selenium")

# quit the bot and close the chrome window
bot.quit()

if you don't want to see that unnecessary chrome pop-up then use

bot = TwitterBot("my_username", "my_secret_password", headless=True)

Missing a feature

if you feel like you're missing a feature or if you have found a bug then feel free to open a pull request.

About

A simple python script that automatically posts tweets of links of latest articles in Fedora Magazine along with their titles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages