fix: ignore_js_op in /dsndsht23/yzwmyc (#3092)

This commit is contained in:
Cloud
2019-09-16 17:17:39 +08:00
committed by DIYgod
parent 3973071c11
commit cdd7c9387f
2 changed files with 13 additions and 13 deletions
+12 -12
View File
@@ -618,18 +618,6 @@ pageClass: routes
</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>
## 探物
### 产品
@@ -692,6 +680,18 @@ pageClass: routes
</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>
## 维基百科
### 中国大陆新闻动态
+1 -1
View File
@@ -77,7 +77,7 @@ module.exports = async (ctx) => {
$(images[k]).replaceWith(`<img src="${$(images[k]).attr('file')}" />`);
}
}
const description = postMessage.html();
const description = (postMessage.html() || '原帖已被删除').replace(/ignore_js_op/g, 'div');
const enclosureUrl = postMessage.find('div.blockcode li').text();
const single = {