mirror of
https://github.com/balkian/go5ears.git
synced 2024-11-21 21:02:29 +00:00
Changed html to text to avoid escaped characters
This commit is contained in:
parent
b8e884b354
commit
f72336e897
@ -42,9 +42,9 @@ app.get('/search', function(req, resp){
|
||||
$(resultsol).find('li').each(function(i,elem){
|
||||
var a=$(elem).find('a');
|
||||
var id=a.attr('href').split('/')[1];
|
||||
var title = a.find('span.songtitleinfo').html();
|
||||
var group = a.find('span.groupnameinfo').html();
|
||||
var quality = $(elem).find('p.comment').html().split('|')[0];
|
||||
var title = a.find('span.songtitleinfo').text();
|
||||
var group = a.find('span.groupnameinfo').text();
|
||||
var quality = $(elem).find('p.comment').text().split('|')[0];
|
||||
if(typeof title != 'undefined' && typeof group != 'undefined' ){
|
||||
results.push({id:id,title:title,group:group,quality:quality})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user