Skip to content

Twitter bot that posts random lyrics parts of the song you are currently scrobbling on last.fm

License

Notifications You must be signed in to change notification settings

vanita5/Lastfm-Twitter-Lyrics-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lastfm-Twitter-Lyrics-Bot

Twitter bot that posts random lyrics parts of the song you are currently scrobbling on last.fm

Requirements

  • Last.fm account
  • Last.fm API Keys
  • Twitter Account for the bot
  • Twitter API Keys
  • Python 2.7
  • tweepy
  • requests
  • BeautifulSoup
  • Lyricfetch

Installation

pip install tweepy
pip install requests
pip install beautifulsoup4
pip install git+git://github.com/cbelden/lyricfetch.git@master
  • Edit the config.py

Congratulations, you're ready to go. Just let lyrics.py run in the background somewhere. Note: Python 3.x will probably not work. Make sure to run the script with version 2.7.

Example Bot

The last.fm account

The Twitter Bot

I additionally connected the bot to last.fm with IFTTT to automatically change the profile picture to the album cover of the last track and to post a tweet when I favorite a song.

About

Twitter bot that posts random lyrics parts of the song you are currently scrobbling on last.fm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages