mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
style: auto format
This commit is contained in:
+6
-6
@@ -111,6 +111,12 @@ Official Website: [https://www.ssm.gov.mo/apps1/PreventWuhanInfection/en.aspx](h
|
||||
|
||||
</RouteEn>
|
||||
|
||||
## MITRE
|
||||
|
||||
### All Publications
|
||||
|
||||
<Route author="sbilly" example="/mitre/publications" path="/mitre/publications" />
|
||||
|
||||
## Parcel Tracking
|
||||
|
||||
### Hermes UK
|
||||
@@ -144,12 +150,6 @@ Official Website: [https://www.ssm.gov.mo/apps1/PreventWuhanInfection/en.aspx](h
|
||||
|
||||
</RouteEn>
|
||||
|
||||
## MITRE
|
||||
|
||||
### All Publications
|
||||
|
||||
<Route author="sbilly" example="/mitre/publications" path="/mitre/publications" />
|
||||
|
||||
## SANS Institute
|
||||
|
||||
### Latest conference materials
|
||||
|
||||
+6
-6
@@ -121,6 +121,12 @@ pageClass: routes
|
||||
|
||||
<Route author="proletarius101" example="/iyouport/osint" path="/iyouport/:category?"/>
|
||||
|
||||
## MITRE
|
||||
|
||||
### 全部出版物
|
||||
|
||||
<Route author="sbilly" example="/mitre/publications" path="/mitre/publications" />
|
||||
|
||||
## MobData
|
||||
|
||||
### 分析报告
|
||||
@@ -172,12 +178,6 @@ pageClass: routes
|
||||
<Route author="miaoyafeng" example="/producthunt/today" path="/producthunt/today">
|
||||
</Route>
|
||||
|
||||
## MITRE
|
||||
|
||||
### 全部出版物
|
||||
|
||||
<Route author="sbilly" example="/mitre/publications" path="/mitre/publications" />
|
||||
|
||||
## SANS Institute
|
||||
|
||||
### 最新会议材料
|
||||
|
||||
@@ -2,26 +2,26 @@
|
||||
|
||||
// const got = require('@/utils/got');
|
||||
// const cheerio = require('cheerio');
|
||||
const buildData = require("@/utils/common-config");
|
||||
const buildData = require('@/utils/common-config');
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const link = `https://www.mitre.org/publications/all`;
|
||||
const host = `https://www.mitre.org`;
|
||||
ctx.state.data = await buildData({
|
||||
link,
|
||||
url: link,
|
||||
title: `%title%`,
|
||||
params: {
|
||||
title: "MITRE: All Publications",
|
||||
host,
|
||||
link,
|
||||
},
|
||||
item: {
|
||||
item: "div.list-item",
|
||||
title: `$('div.list-item div.list-main a span.title').text()`,
|
||||
link: `'%host%' + $('div.list-item div.list-main a').attr('href')`,
|
||||
category: `$('div.list-item div.list-main a span.time').text()`,
|
||||
description: `$('div.list-item div.list-main a span.teaser').html()`,
|
||||
},
|
||||
});
|
||||
};
|
||||
const link = `https://www.mitre.org/publications/all`;
|
||||
const host = `https://www.mitre.org`;
|
||||
ctx.state.data = await buildData({
|
||||
link,
|
||||
url: link,
|
||||
title: `%title%`,
|
||||
params: {
|
||||
title: 'MITRE: All Publications',
|
||||
host,
|
||||
link,
|
||||
},
|
||||
item: {
|
||||
item: 'div.list-item',
|
||||
title: `$('div.list-item div.list-main a span.title').text()`,
|
||||
link: `'%host%' + $('div.list-item div.list-main a').attr('href')`,
|
||||
category: `$('div.list-item div.list-main a span.time').text()`,
|
||||
description: `$('div.list-item div.list-main a span.teaser').html()`,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user