mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-14 01:00:38 +08:00
fix: remove cnbeta 6.18 ad (#4983)
This commit is contained in:
@@ -986,6 +986,18 @@ Supported sub-sites:
|
||||
|
||||
</Route>
|
||||
|
||||
## 网易号
|
||||
|
||||
### 更新
|
||||
|
||||
<Route author="HendricksZheng" example="/netease/dy/W4983108759592548559" path="/netease/dy/:id" :paramsDesc="['网易号 ID', '见如下说明']">
|
||||
|
||||
1. 在[网易号搜索页面](https://dy.163.com/v2/media/tosearch.html) 搜索想要订阅的网易号。
|
||||
2. 打开网易号文章页面。
|
||||
3. 通过浏览器控制台执行 `$('#contain').dataset.wemediaid`,返回的即为网易号 ID。
|
||||
|
||||
</Route>
|
||||
|
||||
## 网易新闻
|
||||
|
||||
### 排行榜
|
||||
@@ -1010,18 +1022,6 @@ Supported sub-sites:
|
||||
|
||||
</Route>
|
||||
|
||||
## 网易号
|
||||
|
||||
### 更新
|
||||
|
||||
<Route author="HendricksZheng" example="/netease/dy/W4983108759592548559" path="/netease/dy/:id" :paramsDesc="['网易号 ID', '见如下说明']">
|
||||
|
||||
1. 在[网易号搜索页面](https://dy.163.com/v2/media/tosearch.html) 搜索想要订阅的网易号。
|
||||
2. 打开网易号文章页面。
|
||||
3. 通过浏览器控制台执行 `$('#contain').dataset.wemediaid`,返回的即为网易号 ID。
|
||||
|
||||
</Route>
|
||||
|
||||
## 维基百科
|
||||
|
||||
### 中国大陆新闻动态
|
||||
|
||||
@@ -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() + '<br>' + $('.article-content').html();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user