diff --git a/docs/support/README.md b/docs/support/README.md index 1eb8e98cf0..2f82b26f8e 100644 --- a/docs/support/README.md +++ b/docs/support/README.md @@ -23,4 +23,5 @@ RSSHub 是采用 MIT 许可的开源项目, 使用完全免费. 但是随着项 - [支付宝](https://i.loli.net/2019/03/23/5c950ebbc980e.png) ## 周边产品 + 也可以购买我们[官方授权的周边产品](https://telegra.ph/RSSHub-周边-08-20-2),每售出一件周边,我们将获得售价 10% 的捐赠。 diff --git a/lib/routes/juejin/utils.js b/lib/routes/juejin/utils.js index fa85868854..5da5c2789f 100644 --- a/lib/routes/juejin/utils.js +++ b/lib/routes/juejin/utils.js @@ -13,10 +13,10 @@ async function load(link) { const $ = cheerio.load(response.data); // 解析日期 - //const date = new Date($('time').attr('datetime')); - //const timeZone = 8 * 60; - //const serverOffset = date.getTimezoneOffset(); - //const pubDate = new Date(date.getTime() + 60 * 1000 * (timeZone + serverOffset)).toUTCString(); + // const date = new Date($('time').attr('datetime')); + // const timeZone = 8 * 60; + // const serverOffset = date.getTimezoneOffset(); + // const pubDate = new Date(date.getTime() + 60 * 1000 * (timeZone + serverOffset)).toUTCString(); // 提取内容 const description = $('.article-content') @@ -30,7 +30,7 @@ async function load(link) { const ProcessFeed = async (list, caches) => await Promise.all( list.map(async (item) => { - //解析时间,补偿时区offset + // 解析时间,补偿时区offset const pubdate = new Date(); pubdate.setTime(Date.parse(item.createdAt) - 8 * 60 * 60 * 1000); // 列表上提取到的信息