mirror of
https://github.com/ION606/selmerBot.git
synced 2026-06-06 07:12:58 +00:00
Fixes the web scraper
This commit is contained in:
+2
-2
@@ -9,9 +9,9 @@ module.exports ={
|
|||||||
.then(response => {
|
.then(response => {
|
||||||
const html = response.data;
|
const html = response.data;
|
||||||
const $ = cheerio.load(html);
|
const $ = cheerio.load(html);
|
||||||
lyrics = $('.para_row').text();
|
//lyrics = $('.para_row').text();
|
||||||
|
|
||||||
//message.channel.send(lyrics);
|
message.channel.send(lyrics);
|
||||||
console.log(lyrics);
|
console.log(lyrics);
|
||||||
})
|
})
|
||||||
.catch(console.error);
|
.catch(console.error);
|
||||||
|
|||||||
Reference in New Issue
Block a user