Skip to content

A twitter bot that posts scrapped text and links from theater websites and share through @theaterAATW Twitter account.

License

Notifications You must be signed in to change notification settings

hozeren/theaterAATW

Repository files navigation

Theater All Around the World

A Twitter bot that posts scrapped text and links from specified theater websites on Twitter without the intervention of a human operator.

TheaterAATW

Installation

Before installation, auth.py should be filled and/or created with the Twitter API key and secret in the main folder. You can apply to Twitter developer account below: https://developer.twitter.com/

# Clone the repositories
git clone https://github.com/hozeren/theaterAATW.git

# Go to the clone folder
python setup.py install

# or install with pip in the folder
pip install .

Usage

There are two website functions now including New York Times, Whatsonstage, The Theatre Times, and TheaterMania. To use the functions after installation;

usage: theateraatw [-h] [nytimes] [wostage] [tmania] [ttimes] [fav]

positional arguments:
nytimes     Start scraping and sending tweets from New York Times.
wostage     Start scraping and sending tweets from WhatsOnStage.
tmania      Start scraping and sending tweets from TheaterMania.
ttimes      Start scraping and sending tweets from The Theatre Times.
fav         Favorite the tweets, use with following keywords.

optional arguments:
-h, --help  show this help message and exit

Tweet on Twitter

TheaterAATW

📱 Latest Tweets

About

A twitter bot that posts scrapped text and links from theater websites and share through @theaterAATW Twitter account.

Topics

Resources

License

Stars

Watchers

Forks

Languages