diff --git a/docs/new-media.md b/docs/new-media.md index 1ae8ae096f..0d7e9ef3a6 100755 --- a/docs/new-media.md +++ b/docs/new-media.md @@ -986,6 +986,18 @@ Supported sub-sites: +## 网易号 + +### 更新 + + + +1. 在[网易号搜索页面](https://dy.163.com/v2/media/tosearch.html) 搜索想要订阅的网易号。 +2. 打开网易号文章页面。 +3. 通过浏览器控制台执行 `$('#contain').dataset.wemediaid`,返回的即为网易号 ID。 + + + ## 网易新闻 ### 排行榜 @@ -1010,18 +1022,6 @@ Supported sub-sites: -## 网易号 - -### 更新 - - - -1. 在[网易号搜索页面](https://dy.163.com/v2/media/tosearch.html) 搜索想要订阅的网易号。 -2. 打开网易号文章页面。 -3. 通过浏览器控制台执行 `$('#contain').dataset.wemediaid`,返回的即为网易号 ID。 - - - ## 维基百科 ### 中国大陆新闻动态 diff --git a/lib/routes/cnbeta/home.js b/lib/routes/cnbeta/home.js index 854c1b7dd9..4b86ac4bea 100644 --- a/lib/routes/cnbeta/home.js +++ b/lib/routes/cnbeta/home.js @@ -8,6 +8,9 @@ module.exports = async (ctx) => { const ProcessFeed = (data) => { const $ = cheerio.load(data); + // 移除6.18广告 + $('.article-global').remove(); + // 提取内容 return $('.article-summary p').html() + '
' + $('.article-content').html(); };