fix: t66y null author (#4002)

This commit is contained in:
hoilc
2020-02-17 19:12:31 +08:00
committed by GitHub
parent 2fe5e59bb1
commit 6a6d3655ee
+1 -1
View File
@@ -55,7 +55,7 @@ module.exports = async (ctx) => {
time = regRes === null ? new Date() : new Date(regRes[0]);
time.setTime(time.getTime() + (sourceTimezoneOffset - time.getTimezoneOffset() / 60) * 60 * 60 * 1000);
const author = $('#main > div:nth-child(4) > table > tbody > tr.tr1.do_not_catch > th.r_two > b').text();
const author = $('#main > div:nth-child(4) > table > tbody > tr.tr1.do_not_catch > th:nth-child(1) > b').text();
const content = $('#main > div:nth-child(4) > table > tbody > tr.tr1.do_not_catch > th:nth-child(2) > table > tbody > tr > td > div.tpc_content.do_not_catch').html();
// Change the image tag to display image in rss reader