fix: /v2ex/tab/hot returned undefined (#6461)

This commit is contained in:
Laam Pui
2020-12-18 16:54:42 +00:00
committed by GitHub
parent 3efdea942f
commit d3f9dafe31
+1 -1
View File
@@ -39,7 +39,7 @@ module.exports = async (ctx) => {
return `<p><div>#${no}: <i>${author}</i></div><div>${content}</div></p>`;
})
.join('');
const post = {
post = {
title: $('.header h1').text(),
link: pageUrl,
guid: pageUrl,