rsshub
Version:
Make RSS Great Again!
28 lines (25 loc) • 714 B
text/typescript
import { Route } from '@/types';
import { gdgov } from '../general/general';
export const route: Route = {
path: '/huazhou/*',
name: 'Unknown',
maintainers: [],
handler,
};
async function handler(ctx) {
const info = {
defaultPath: 'syzl/zcjd/',
list_element: '.list-content li a',
list_include: 'site',
title_element: 'h3',
title_match: '(.*)',
description_element: '.txt',
author_element: undefined,
author_match: undefined,
authorisme: '化州市人民政府网',
pubDate_element: '.article-date',
pubDate_match: '日期:(.*)',
pubDate_format: undefined,
};
await gdgov(info, ctx);
}