Skip to content

This is a Twitter bot that was created to help game developers stay up-to-date on the latest news and resources in the industry. The bot utilizes the Twitter API to post updates and the Beautiful Soup library to scrape news articles from various websites.

Notifications You must be signed in to change notification settings

TheRealChrisWilliams/WASBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WASBot: Twitter Bot for Game Development News

Introduction

This is a Twitter bot that was created to help game developers stay up-to-date on the latest news and resources in the industry. The bot utilizes the Twitter API to post updates and the Beautiful Soup library to scrape news articles from various websites. Now supports multithreading and uses multiple websites for scraping. Also checks if previous tweets have been posted (this took a while!).

Setup

To use this bot, you will need to have a Twitter account and apply for a Twitter Developer account to get an API key and secret. You will also need to have Python 3 and the following libraries installed:

threading

Tweepy

requests

Beautiful Soup

Once you have these, you can clone this repository and replace the placeholder values in the tweeter.py file with your own API key and secret.

Usage

The bot is designed to run on a schedule, posting updates at a set interval. You can adjust the websites to scrape news articles for in the scraper.py file.

The main.py file contains the multithreading, which handles the posting of updates to Twitter. To run the bot, you can use a task scheduler such as cron on Linux or Task Scheduler on Windows to run the script at the desired interval.

Conclusion

This bot is a simple yet effective tool for game developers to stay informed on the latest happenings in the industry. Feel free to customize and expand upon the code to suit your specific needs. Happy coding!

About

This is a Twitter bot that was created to help game developers stay up-to-date on the latest news and resources in the industry. The bot utilizes the Twitter API to post updates and the Beautiful Soup library to scrape news articles from various websites.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages