Scrape lyrics from Genius and lyrics refactor

This commit is contained in:
Ritiek Malhotra
2019-07-22 15:55:05 +05:30
parent 341af5bce9
commit 0d846cdcce
10 changed files with 162 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
import lyricwikia
from abc import ABC
from abc import abstractmethod
class LyricBase(ABC):
@abstractmethod
def __init__(self, artist, song):
pass
@abstractmethod
def get_lyrics(self, linesep="\n", timeout=None):
pass