Files
RSSHub/lib/v2/gov/mmht/mmht.js
T
水货 f6ab7b6ac9 feat(route): 增加茂名地方政府网站 (#11239)
* feat(route): 增加茂名地方政府网站

* docs: 删除无关文档

* fix: 删除暂时未使用的路由

* feat: 增加从多个选择器中获取正文的功能

* fix: Avoid unnecessary redirects

* fix: 修复公开目录平台存在未使用的列表元素问题

* fix: 修复茂南页面列表中存在其他网站导致获取到空值的问题

* feat: 增加处理微信文章链接

* fix: 修复公开目录平台存在非文章链接的问题

* docs: 对维护者列表进行排序

* feat: 适配更多茂名政府网站页面

* feat: 适配更多茂名政府网站页面

* fix: 修复茂南的缓存问题

* feat: 使用 API 获取政策解读平台内容

* feat: 政策解读平台模板增加涉企信息

* feat: 政策解读平台模版增加样式

* fix: 修复政策解读平台解读条目缺失换行的问题

* docs: fix missing closing tag

* fix: 修复茂名市相关网站浏览器扩展匹配规则缺失域名部分的问题

* docs: 修改部分要填充内容的描述

* docs: 修改名称与文档一致

* docs: 修改茂名市相关网站层级
2022-12-18 22:29:01 +08:00

20 lines
952 B
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
const { gdgov } = require('../general/general');
module.exports = async (ctx) => {
const info = {
defaultPath: 'xwzx/zcjd/',
list_element: '#main21l_main_dk > table > tbody > tr > td:nth-child(2) a',
list_include: 'site',
title_element: 'td[background="/global/rlyelen_line04.gif"] > table:nth-child(1) > tbody > tr:nth-child(2)',
title_match: '(.*)',
description_element: 'td[background="/global/rlyelen_line04.gif"] > table:nth-child(1) > tbody > tr:nth-child(4)',
author_element: undefined,
author_match: undefined,
authorisme: '茂名市高新技术产业开发局政务网',
pubDate_element: 'td[background="/global/rlyelen_line04.gif"] > table:nth-child(1) > tbody > tr:nth-child(3) > td > table > tbody > tr > td',
pubDate_match: '发表时间:(.*)       信息来源',
pubDate_format: undefined,
};
await gdgov(info, ctx);
};