20 lines
630 B
JavaScript
20 lines
630 B
JavaScript
const { gdgov } = require('../general/general');
|
|
|
|
module.exports = async (ctx) => {
|
|
const info = {
|
|
defaultPath: 'zwgk/zcjd/',
|
|
list_element: '.art-list li a',
|
|
list_include: 'site',
|
|
title_element: '.title',
|
|
title_match: '(.*)',
|
|
description_element: '.text',
|
|
author_element: '.source',
|
|
author_match: '来源:(.*)发布时间',
|
|
authorisme: '广东省茂名水东湾新城建设管理委员会网站',
|
|
pubDate_element: '.source',
|
|
pubDate_match: '发布时间:(.*)',
|
|
pubDate_format: undefined,
|
|
};
|
|
await gdgov(info, ctx);
|
|
};
|