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