fix(rutor): little fix
This commit is contained in:
parent
a982a2cf9d
commit
720946d518
@ -122,6 +122,7 @@ module.exports = class Rutor
|
||||
if(!html)
|
||||
return
|
||||
html = await html.textConverted()
|
||||
html = html.replace(/textarea/g, 'div')
|
||||
const $ = cheerio.load(html)
|
||||
const topicTitle = $('h1').text()
|
||||
if(!topicTitle)
|
||||
|
Loading…
Reference in New Issue
Block a user