fix(rutracker): encoding fix
This commit is contained in:
@ -22,7 +22,7 @@ module.exports = class Nyaa
|
||||
}
|
||||
if(!html)
|
||||
return
|
||||
html = await html.text()
|
||||
html = await html.textConverted()
|
||||
const $ = cheerio.load(html)
|
||||
let topicTitle = $('.panel-title').first().text()
|
||||
if(!topicTitle)
|
||||
|
@ -22,7 +22,7 @@ module.exports = class Rutracker
|
||||
}
|
||||
if(!html)
|
||||
return
|
||||
html = await html.text()
|
||||
html = await html.textConverted()
|
||||
const $ = cheerio.load(html)
|
||||
const topicTitle = $('#topic-title').text()
|
||||
if(!topicTitle)
|
||||
|
Reference in New Issue
Block a user