Skip to content

Zylvian/ERB_Quote_Bot

Repository files navigation

ERB-bot

A bot designed for r/erb to comment the next lyric of an Epic Rap Battles of History song.

Implementation

Uses Genius' API to fetch the artist Epic Rap Battles of History's songs, and then scrapes the HTML for lyrics. Saves the lyrics in a JSON that is loaded on each new instance, and then fetches comments from the sub and see if they fit an existing lyric using re.search.

Relevant links

Genius API: https://docs.genius.com/

How to get lyrics from Genius: https://bigishdata.com/2016/09/27/getting-song-lyrics-from-geniuss-api-scraping/

Based partially on Hearthscan_Bot: https://github.com/d-schmidt/hearthscan-bot

ERB Genius page: https://genius.com/artists/Epic-rap-battles-of-history

About

A bot designed for r/erb to comment the next lyric of an ERB song.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages