mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-12-08 12:29:09 +00:00
Scrape lyrics from Genius and lyrics refactor
This commit is contained in:
14
spotdl/lyrics/lyric_base.py
Normal file
14
spotdl/lyrics/lyric_base.py
Normal 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
|
||||
Reference in New Issue
Block a user