bugGNU FM - Bugs: bug #26475, lastscrape.py: Very long track...


bug #26475: lastscrape.py: Very long track names are truncated

Submitted by:  None
Submitted on:  Wed 06 May 2009 10:40:35 PM UTC  
Category:  lastscrape Severity:  3 - Normal
Item Group:  Importing Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 06 May 2009 10:40:35 PM UTC, original submission:  

Because lastscrape.py scrapes Last.fm pages, it gets the link text  for the track name. Last.fm truncates very long track names on the listening history pages so lastscrape.py gets the truncated name, too. Example:

"Perheenjäsen määrittelee (kotoisia esineitä käyttötarkoituksen mukaan ja suorittaa käytäntöön viittaavia yläkäsitemääritelmiä)" by Absoluuttinen Nollapiste, at
appears as "Perheenjäsen Määrittelee (Kotoisia Esineitä Käyttötarkoituksen Mukaan Ja Suorittaa…"

Suggestion: Parsing the url should give the correct track name after unescaping the % codes and tr/+/\ / after the last / in the url.

Toni (hyark on irc, tonique on Libre/Last)



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




No changes have been made to this item

Back to the top

Powered by Savane 3.7