Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tekstowo backend does not return lyrics any more #5456

Closed
snejus opened this issue Oct 11, 2024 · 1 comment · Fixed by #5457
Closed

Tekstowo backend does not return lyrics any more #5456

snejus opened this issue Oct 11, 2024 · 1 comment · Fixed by #5457
Assignees

Comments

@snejus
Copy link
Member

snejus commented Oct 11, 2024

Problem

With only tekstowo backend enabled in my configuration:

lyrics:
  sources: [tekstowo]

And trying to fetch lyrics:

$ beet -vv lyrics artist:kendrick -f
user configuration: /home/sarunas/.config/beets/config.yaml
data directory: /home/sarunas/.config/beets
plugin paths: 
fetchart: google: Disabling art source due to missing key
inline: adding item field label_or_albumartist
inline: adding item field singleton_track_artist
inline: adding item field track_artist
inline: adding item field album_name
inline: adding item field track_identification
inline: adding item field withdrawn
inline: adding album field multiple_artists
Sending event: pluginload
library database: /home/sarunas/.music/beets/library.db
library directory: /run/media/sarunas/music/Music
Sending event: library_opened
Parsed query: AndQuery([SubstringQuery('artist', 'kendrick', fast=True)])
Parsed sort: NullSort()
lyrics: lyrics not found: 36218 | 2012 / Swimming Pools (Drank): Kendrick Lamar - Swimming Pools (Drank)
lyrics: lyrics not found: 43230 | 2015 / To Pimp a Butterfly: Kendrick Lamar - For Free? (interlude)
lyrics: lyrics not found: 43231 | 2015 / To Pimp a Butterfly: Kendrick Lamar - King Kunta
lyrics: lyrics not found: 43234 | 2015 / To Pimp a Butterfly: Kendrick Lamar - u
lyrics: lyrics not found: 43235 | 2015 / To Pimp a Butterfly: Kendrick Lamar - Alright
lyrics: lyrics not found: 43236 | 2015 / To Pimp a Butterfly: Kendrick Lamar - For Sale? (interlude)
lyrics: lyrics not found: 43237 | 2015 / To Pimp a Butterfly: Kendrick Lamar - Momma
lyrics: lyrics not found: 43238 | 2015 / To Pimp a Butterfly: Kendrick Lamar - Hood Politics
lyrics: lyrics not found: 43241 | 2015 / To Pimp a Butterfly: Kendrick Lamar - The Blacker the Berry
lyrics: lyrics not found: 43242 | 2015 / To Pimp a Butterfly: Kendrick Lamar - You Ain't Gotta Lie (Momma Said)
lyrics: lyrics not found: 43243 | 2015 / To Pimp a Butterfly: Kendrick Lamar - i
lyrics: lyrics not found: 43244 | 2015 / To Pimp a Butterfly: Kendrick Lamar - Mortal Man
lyrics: lyrics not found: 43232 | 2015 / To Pimp a Butterfly: Kendrick Lamar ft. Bilal, Anna Wise, & Snoop Dogg - Institutionalized
lyrics: lyrics not found: 43233 | 2015 / To Pimp a Butterfly: Kendrick Lamar ft. Bilal, Anna Wise, & Thundercat - These Walls
lyrics: lyrics not found: 43229 | 2015 / To Pimp a Butterfly: Kendrick Lamar ft. George Clinton & Thundercat - Wesley's Theory
lyrics: lyrics not found: 43239 | 2015 / To Pimp a Butterfly: Kendrick Lamar ft. James Fauntleroy & Ronald Isley - How Much a Dollar Cost
lyrics: lyrics not found: 43240 | 2015 / To Pimp a Butterfly: Kendrick Lamar ft. Rapsody - Complexion (A Zulu Love)

No lyrics are found, even though just a couple of days ago I could find them using the
same command with tekstowo backend.

I had a look at Tekstowo search page and discovered that search results are now being displayed within a Google search container.

I attempted to curl the same URL

$ curl 'https://www.tekstowo.pl/wyszukiwanie-zaawansowane,?q=kendrick+lamar+wesley' -s | grep -i wesley
                        <meta property="og:url" content="https://www.tekstowo.pl/wyszukiwanie-zaawansowane,?q=kendrick+lamar+wesley">

Unfortunately the response does not provide anything we could parse, which I suspect is
the main issue here.

@snejus
Copy link
Member Author

snejus commented Oct 11, 2024

Tekstowo has been reliably returning lyrics for a long time, so this is not great. I am going to attempt to handle this by skipping the search and trying to get the lyrics directly. See some of the URLs to their lyrics pages:

So we can try and form these for our queries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant