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: lastscrapeSeverity: 3 - Normal
Item Group: ImportingStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich 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
http://www.last.fm/music/Absoluuttinen+Nollapiste/_/Perheenj%C3%A4sen+M%C3%A4%C3%A4rittelee+%28Kotoisia+Esineit%C3%A4+K%C3%A4ytt%C3%B6tarkoituksen+Mukaan+Ja+Suorittaa+K%C3%A4yt%C3%A4nt%C3%B6%C3%B6n+Viittaavia+Yl%C3%A4k%C3%A4sitem%C3%A4%C3%A4ritelmi%C3%A4%29
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)

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

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 click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup