diff --git a/README.md b/README.md index 2d1888d..32fe8aa 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,8 @@ syncedlyrics.search("...", lang="de") - [Deezer](https://deezer.com/) - [Lrclib](https://github.com/tranxuanthang/lrcget/issues/2#issuecomment-1326925928) - [NetEase](https://music.163.com/) -- [Megalobiz](https://www.megalobiz.com/) - [Genius](https://genius.com) (For plain format) +~~- [Megalobiz](https://www.megalobiz.com/)~~ (Website not working anymore) - ~~[Lyricsify](https://www.lyricsify.com/)~~ (Broken duo to Cloudflare protection) Feel free to suggest more providers or make PRs to fix the broken ones. diff --git a/syncedlyrics/__init__.py b/syncedlyrics/__init__.py index fb1c644..2aa29d6 100644 --- a/syncedlyrics/__init__.py +++ b/syncedlyrics/__init__.py @@ -10,7 +10,7 @@ import logging from typing import List, Optional -from .providers import Deezer, Lrclib, Megalobiz, Musixmatch, NetEase, Genius +from .providers import Deezer, Lrclib, Musixmatch, NetEase, Genius from .utils import is_lrc_valid, save_lrc_file logger = logging.getLogger(__name__) @@ -39,7 +39,6 @@ def search( Lrclib(), Deezer(), NetEase(), - Megalobiz(), Genius(), ] if providers and any(providers): diff --git a/syncedlyrics/cli.py b/syncedlyrics/cli.py index 5f6ae97..b91b0e5 100644 --- a/syncedlyrics/cli.py +++ b/syncedlyrics/cli.py @@ -16,7 +16,7 @@ def cli_handler(): "-p", help="Providers to include in the searching (separated by space). Default: all providers", default="", - choices=["deezer", "lrclib", "megalobiz", "musixmatch", "netease", "genius"], + choices=["deezer", "lrclib", "musixmatch", "netease", "genius"], nargs="+", type=str.lower, ) diff --git a/tests.py b/tests.py index b53bda1..60bb7f3 100644 --- a/tests.py +++ b/tests.py @@ -21,10 +21,6 @@ def test_netease(): _test_provider("NetEase") -def test_megalobiz(): - _test_provider("Megalobiz") - - def test_musixmatch(): _test_provider("Musixmatch") @@ -45,6 +41,9 @@ def test_deezer(): _test_provider("Deezer") +# def test_megalobiz(): +# _test_provider("Megalobiz") + # TODO: fix # def test_genius(): # _test_provider("Genius")