Comparing version 0.1.32 to 0.1.40
@@ -39,3 +39,4 @@ const fetch = require('node-fetch') | ||
} | ||
} catch { | ||
} catch (e) { | ||
console.log(e) | ||
return getnullObject(provider, true) | ||
@@ -69,3 +70,3 @@ } | ||
const $ = cheerio.load(result) | ||
for (const item of $('body > div.container.main-page > div > div > div > table > tbody > tr').children('.visitedlyr').toArray()) { | ||
for (const item of $($('.panel-heading').children('b').toArray().filter(el => $(el).text() === 'Song results:')[0]).parents('.panel').children('table').children('tbody').children('tr').children('.visitedlyr').toArray()) { | ||
array.push({ | ||
@@ -72,0 +73,0 @@ title: $(item).children('a').text(), |
{ | ||
"name": "slyrics", | ||
"version": "0.1.32", | ||
"version": "0.1.40", | ||
"description": "Fetch Lyrics Without Api Key", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8593
179