Coder Social home page Coder Social logo

techcatchers / pylyrics-extractor Goto Github PK

View Code? Open in Web Editor NEW
51.0 3.0 17.0 18 KB

Get Lyrics for any songs by just passing in the song name (spelled or misspelled) in less than 2 seconds using this awesome Python Library.

License: MIT License

Python 100.00%
extract-data lyrics-fetcher search-algorithm python-library

pylyrics-extractor's People

Contributors

rishabhacodes avatar techcatchers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pylyrics-extractor's Issues

No Result is being Provided

Lyrics Extractor is not giving any output for query, even tough i have a all websites. Seems like sites have changed their API 🤔.
Can you Look into it

Broken for new users

Message from google:

Note: As of 2023-10-05, new customers attempting to make requests to the Custom Search Site Restricted JSON API will receive a 403 error message response. This does not affect existing customers or our other API products. For additional information, please see the blog post.

We encourage all site search partners - prospective and existing - to explore Google Cloud's Vertex AI Search for their site search needs. You can find transition guidance here.

this means that new accounts will not be able to use this project :p

Works on PC, not on Server

I need this for my Discord Bot so I can create a lyrics command, the code works when I use it on my pc but in the command, it does not work as expected. Always raises

lyrics_extractor.lyrics.LyricScraperException: {'error': 'No results found'}

raising LyricScraperException when running code.

the code that I ran:
from lyrics_extractor import SongLyrics

apiKey = 'AIzaSyD0wLKKCF8h8P9RcFKeuBvrsCttZjbs_wY'
engineID = 'ee477aa93a682'

extract_lyrics = SongLyrics(apiKey, engineID)
lyrics = extract_lyrics.get_lyrics('shape of you')
raises exception here^^

Getting hindi lyrics everytime.

I've been using this wrapper in a ubuntu vps so because of this I had to remove genius lyrics website from my search engine, this gave the opportunity to rest of the sites to provide lyrics but it seems that all those sites are hindi lyrics sites. I request to add some more websites to fetch english lyrics or is there any way to get English lyrics from those sites?

No results outputting

Exact same problem as the guy below me
please fix I have to show off my final project for my computer science class tomorrow and it is very reliant on this.

Despite seeming to search, the lyrics-extractor cannot locate any songs.

This is my code:

from lyrics_extractor import SongLyrics

extract_lyrics = SongLyrics('AIzaSyC5sQ2alM11wY43kmUYvAcPPAVU1Ww9weo', 'f2904a23add534b8d')
lyrics = extract_lyrics.get_lyrics("Shape of You")

print(lyrics['title'])
print(lyrics['lyrics'])
But it doesn't work. It gives this error:

Traceback (most recent call last):
File "main.py", line 4, in
lyrics = extract_lyrics.get_lyrics("Shape of You")
File "/home/runner/LyricsBot/venv/lib/python3.10/site-packages/lyrics_extractor/lyrics.py", line 195, in get_lyrics
raise LyricScraperException({"error": "No results found"})
lyrics_extractor.lyrics.LyricScraperException: {'error': 'No results found'}
I followed the intructions of this website as closely as I could: [Lyrics-extractor_3.0.1]
(https://populyrics.com/)

With pip install lyrics-extractor, I've already installed the library.

The API Key and Engine ID have both been verified, and they are both accurate.

I tried other song titles. Same results.

What may the issue be?

No AI ?

I thought this project will extract lyrics from mp3 files using neural networks, bit it only search for lyrics in the Internet ((

bad handshake: Error

On line:
extract_lyrics = Song_Lyrics(GCS_API_KEY, GCS_ENGINE_ID)

Getting below error:
HTTPSConnectionPool(host='www.googleapis.com', port=443): Max retries exceeded with url: /customsearch/v1/siterestrict?key=XXXXXX&q=summer%20of%2069%20lyrics (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))

Can you please advise

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.