Skip to content

samirsaliba/lyrics-tweeting-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lyrics-tweeting-bot

Twitter bot that tweets song lyrics!

Check it out here: twitter/@theyeezybot

run 'python lybot.py' for lyrics

run 'imgbot.py' for images

Twitter bot that tweets lyrics from a database, or an image from a folder.
Since I'm a big Kanye West fan, this one specifically posts Kanye West's songs lyrics and pictures.

lybot.py:
I split the lyrics from each album into a text file (not all lyrics, just the ones I personally picked that would be a good tweet); Each lyric from the text files should be separated with a blank line (\n\n);
The lyrics were added to a database on heroku through the insert_lyrics_into_db.py script.
Every run it chooses randomly one of the 100 lyrics that were tweeted earliest so it doesn't repeat itself a lot.

imgbot.py: Just opens the images (or any other set) folder and selects one image randomly to tweet. TODO: Also upload the images to a db and choose which one to tweet based on when they were last tweeted.

Some indisposable references:

Also had some help at tweeting pictures from my good friend Lucas Zatta @LucasZatta (you should also check his AMAZING framebot here )

About

Twitter bot that tweets song lyrics and images!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages