Commit Graph
160 Commits
Author SHA1 Message Date
Tonyandnczitzk 4a70a0ede9 feat(route): wuhan (#11701)
Co-authored-by: nczitzk <nczitzk@gmail.com>
2023-01-27 05:02:47 +08:00
github-actions[bot] f3b841f4f8 style: auto format 2022-12-18 14:30:48 +00:00
水货 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
Tony 98a4c7ad77 feat(route): sasac (#11433) 2022-12-10 23:36:41 +08:00
drgnchan 51ec49d0de feat(route): 新增广州市人民政府 (#11339)
* feat[route]: 新增广州市人民政府

* fix(v2ex): enable allowEmpty and enrich pubDate

* refactor: move `gzgov` dir under `gov`

* refactor: replace `gzgov` by `gz` and change doc accordingly

* refactor: polish code

* refactor: polish code

* fix: maintainer path
2022-12-08 01:15:00 +08:00
github-actions[bot] 3c9267c6ad style: auto format 2022-11-22 13:07:20 +00:00
Shansing bcef9b23f6 feat(route): 支持长沙市市长信箱 (#11303)
* feat(route): 支持长沙市市长信箱

* fix(route): 长沙市市长信箱文章使用缓存

之前不使用缓存是担心详情页会新增信件回复。回想以后,很可能是先有回复才放出信件,综合考虑可以使用缓存。

* refactor(route): 长沙市市长信箱 follows suggestions
2022-11-22 21:05:08 +08:00
zxx-457 10cf5a2468 feat(route): add 国务院政策文件库 (#11301)
* feat(route): add 国务院政策文件库

* fix wrong author

* typo

* refactor: migrate to v2
2022-11-22 01:53:40 +08:00
Tony 58aee4c315 fix(route): jseea (#11075)
* fix(route): jseea

* fix: docs anchor
2022-10-13 20:07:17 +08:00
Felix Hsu b523c4dc31 feat(route): add bphc 北京共有产权住房租赁平台 (#10955)
* bphc

* radar ok

* change maintainer

* fix null checking err

* rss link should be rootUrl

* fix: sort routes
2022-09-30 00:14:20 +08:00
Bang-Bo 4271262854 fix(route): 广东省深圳市人民政府 - 通知公告 (#10910)
* fix(route): 广东省深圳市人民政府 - 通知公告

页面改版导致内容和时间异常

* chore: use parseDate

* refactor: migrate to v2
2022-09-27 04:04:43 +08:00
Felix Hsu 64322895ec refactor: try to mimic the js cookie behavior and bypass the anti spider in ccdi.gov (#10890)
* try to minic the js cookie behavior and bypass the anti spider

* add more selector for diff article

* regex polished
2022-09-26 19:13:18 +08:00
Felix Hsu de48ec5015 fix(route): CCDI.gov.cn route broken (#10879)
* fix ccdi site

* fix doc

* upgrade rate limit countermeasure and sort the router alphabetically

* set anticrawler flag in docs
2022-09-24 23:47:03 +08:00
Felix Hsu 0f2dd302c5 feat(route): Add stats.gov 国家统计局 (#10860)
* add new statsgov

* Fix radar.js

* 1. Fix the missing optional chaining operator in reg matching 2. add the missing timezone change

* remove the dup $ in item

* optimize url

* stats.gov.cn refactored

* Modify doc

* more flexible pathname parsing

* Fix radar data
2022-09-23 20:50:40 +08:00
Ethan Shen ea32d46ba9 feat(route): add 全国哲学社会科学工作办公室 (#10704)
* feat(route): add 全国哲学社会科学工作办公室

* add radar
2022-09-05 22:39:23 +08:00
Tony e3ffd5d7c1 fix(route): mofcom (#10641)
* fix(route): mofcom

* fix: typo
2022-08-28 10:33:16 -12:00
Ethan Shenanddependabot[bot] b1af9b812d feat(route): 中国互联网络信息中心新闻中心 (#10591)
* chore(deps): bump dayjs from 1.11.4 to 1.11.5 (#258)

Bumps [dayjs](https://github.com/iamkun/dayjs) from 1.11.4 to 1.11.5.
- [Release notes](https://github.com/iamkun/dayjs/releases)
- [Changelog](https://github.com/iamkun/dayjs/blob/v1.11.5/CHANGELOG.md)
- [Commits](https://github.com/iamkun/dayjs/compare/v1.11.4...v1.11.5)

---
updated-dependencies:
- dependency-name: dayjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump rand-user-agent from 1.0.76 to 1.0.77 (#259)

Bumps [rand-user-agent](https://github.com/WebScrapingAPI/rand-user-agent) from 1.0.76 to 1.0.77.
- [Release notes](https://github.com/WebScrapingAPI/rand-user-agent/releases)
- [Commits](https://github.com/WebScrapingAPI/rand-user-agent/commits)

---
updated-dependencies:
- dependency-name: rand-user-agent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump twitter-api-v2 from 1.12.3 to 1.12.5 (#261)

Bumps [twitter-api-v2](https://github.com/plhery/node-twitter-api-v2) from 1.12.3 to 1.12.5.
- [Release notes](https://github.com/plhery/node-twitter-api-v2/releases)
- [Changelog](https://github.com/PLhery/node-twitter-api-v2/blob/master/changelog.md)
- [Commits](https://github.com/plhery/node-twitter-api-v2/compare/1.12.3...1.12.5)

---
updated-dependencies:
- dependency-name: twitter-api-v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump puppeteer from 16.1.0 to 16.1.1 (#262)

Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 16.1.0 to 16.1.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v16.1.0...v16.1.1)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump rand-user-agent from 1.0.77 to 1.0.78 (#268)

Bumps [rand-user-agent](https://github.com/WebScrapingAPI/rand-user-agent) from 1.0.77 to 1.0.78.
- [Release notes](https://github.com/WebScrapingAPI/rand-user-agent/releases)
- [Commits](https://github.com/WebScrapingAPI/rand-user-agent/commits)

---
updated-dependencies:
- dependency-name: rand-user-agent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump ioredis from 5.2.2 to 5.2.3 (#271)

Bumps [ioredis](https://github.com/luin/ioredis) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/luin/ioredis/releases)
- [Changelog](https://github.com/luin/ioredis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luin/ioredis/compare/v5.2.2...v5.2.3)

---
updated-dependencies:
- dependency-name: ioredis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(route): 中国互联网信息中心新闻中心

* docs: fix typo

* update docs/government.md


Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-24 19:14:21 +08:00
terrytw 7aa76219f0 fix(route): CDRHNew titleOnly (#10417)
* Update router.js

* Update radar.js

* Update cdrh.js

* Update cdrh.js

* Update cdrh.js

* Update cdrh.js

* Update cdrh.js

* docs: update paramsDesc
2022-08-08 22:48:00 +08:00
2PoL 51b6f13340 feat(route): add 太原市人力资源和社会保障局 (#10413)
* add 太原市人力资源和社会保障局.

* change radar.js.

* fix pubDate.

* Standardized Code and make alphabetical order.

* fix: radar domain
2022-08-07 20:10:43 +08:00
Tony 4d194141fc docs: fix closing tag 2022-08-02 17:36:18 +00:00
Ethan ShenandTony e761af6c86 feat(route): add 中国载人航天 (#10355)
* feat(route): add 中国载人航天

* docs: add category for /fxrw

* update lib/v2/gov/cmse/index.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* docs: add xwzt
2022-08-03 01:27:19 +08:00
李润泽andTony 3bb35e3755 feat(route): add 国家药品监督管理局医疗器械技术审评中心 (#10313)
* feat(route): add 国家药品监督管理局医疗器械技术审评中心

* perf(route): cmde block unnecessary request

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix: cmde remove deprecated url.resolve
2022-07-25 01:05:37 +08:00
Ethan Shen 54aea1e4e7 feat(route): add 国家药品监督管理局医疗器械标准管理中心 (#10206)
* feat(route): add 国家药品监督管理局医疗器械标准管理中心

* fix: shorten the route

* fix: bad urls

* fix: only 1 puppeteer request
2022-07-16 20:47:53 +08:00
Tony 87485ec9b9 feat(route): cde zdyz (#10171) 2022-07-08 00:15:49 +08:00
Tony b4d37f9837 feat(route): moj aac (#10168) 2022-07-07 19:31:20 +08:00
Ethan Shen 6017666563 feat(route): add U.S. Food and Drug Administration CDRHNew (#10139)
* feat(route): add U.S. Food and Drug Administration CDRHNew

* fix: pubDate

* fix: pubDate
2022-07-05 22:33:37 +08:00
Ethan Shen 5deba293c1 fix(route): 国家自然科学基金委基金要闻 (#10137)
* fix(route): 国家自然科学基金委基金要闻

* fix: add images
2022-07-05 22:15:30 +08:00
Ethan Shen 31f84a9706 feat(route): add 上海市药品监督管理局 (#10138)
* feat(route): add 上海市药品监督管理局

* fix typo
2022-07-05 21:34:03 +08:00
Ethan Shen d3a5949402 feat(route): add 陕西省科学技术厅 (#10115)
* feat(route): add 陕西省科学技术厅

* fix typo

* fix: pubDate

* fix typo
2022-07-05 19:40:48 +08:00
Tony 7823d4d97e feat(route): nmpa (#10108)
* feat(route): nmpa

* docs: add puppeteer attr

* fix: close puppeteer page
2022-07-04 00:21:51 +08:00
Tony 5a3a4b2583 docs: fix closing tag 2022-07-03 15:53:31 +00:00
Tony cdd1d2fea5 feat(route): cde xxgk (#10094)
* feat(route): cde xxgk

* docs: fix example

* docs: fix path
2022-07-02 01:21:46 +08:00
Ethan Shen 7afd8686f6 feat(route): add 徐州市人力资源和社会保障局 (#10048)
* feat(route): add 徐州市人力资源和社会保障局

* fix pubDate
2022-06-27 19:36:47 -11:00
Ethan Shen f3aee1b3b5 feat(route): add 北京市教育委员会通知公告 (#9978) 2022-06-18 23:23:11 +08:00
Tony bec81248f0 fix(route): customs (#9879) 2022-06-03 00:08:39 +08:00
Rongrong 731c11176d docs(*): add puppeteer budge (#9772)
Signed-off-by: Rongrong <i@rong.moe>
2022-05-17 19:47:39 +08:00
Ethan Shen a4ce5128ab feat(route): add 河北省财政厅 (#9759)
* feat(route): add 河北省财政厅

* regenerate

* fix typo

* fix typo
2022-05-15 22:21:42 +08:00
Liu233w 145ad517b6 feat: add immiau (#9722)
* feat(route): add immiau

Add news entry of Immigration and Citizenship, Department of Home Affairs, Australia.

* feat(route): add cn document for immiau

* refactor(router): move immiau to gov folder
2022-05-08 23:27:19 +08:00
github-actions[bot] a9799e47a5 style: auto format 2022-04-22 18:23:39 +00:00
程序员老马andTonyRL 159da9059e fix(route): 教育部路由新增教育要闻分类,修复部分文章标题取值;优化雪球路由,对于讨论帖直接获取完整内容 (#9556)
* 雪球的讨论帖可以直接从text字段中取到完整内容,长文帖只有description字段有值,获取逻辑不变

* 教育部路由增加“教育要闻”栏目类型获取,同时修复教育部文章title获取不到的问题

* 补充教育部路由增加教育要闻栏目类型的文档

* refactor: migrate to v2

* fix: legacy url.resolve

* 修复雪球返回完整讨论帖时遗漏了转发内容的问题

* 移除重复的key

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-04-23 02:21:38 +08:00
github-actions[bot] c1af2de268 style: auto format 2022-04-19 11:53:27 +00:00
yuxinliu-alexandalex 80aab00fdb feat(route): 国家广播电视总局 (#9566)
* feat(route): 国家广播电视总局

* move the nrta to lib\v2\gov

* fix: feed link

* fix: radar

* fix: radar

Co-authored-by: alex <yuxin2@mgtv.com>
2022-04-19 19:51:52 +08:00
zytomorrowandGitHub Action 476b3934bc fix(route): sichuan/deyang 政府公开信息 (#9453)
* fead: add 雪球股票评论

* style: auto format

* fix: 修复雪球评论转发时未带原文

* refactor: 微博个人时间线接入util,支持可读性优化,同时打开emoji表情展示

* route: 雪球评论标题长度自定义

* style: auto format

* fix: 风之动漫域名更换

* fix: 风之漫画新域名适配

* refactor: 微博个人时间线接入util,支持可读性优化,同时打开emoji表情展示

* fix: 雪球股票评论格式调整

* fix: 风之动漫域名更换

* fix: 风之动漫link修复

* fix: 雪球股票评论正文使用art模板,日期解析调整

* feat(route): add 德阳考试中心

* feat(route): add 德阳考试中心

* fix: 风之动漫获取数量去掉限制

* fix: 风之动漫获取数量去掉限制

* fix: 风之动漫获取数量使用通用参数控制

* fix: 风之动漫获取数量使用通用参数控制

* style: auto format

* fix: dykszx

* fix: 德阳考试中心 ssl证书过期

* Merge branch 'master' of https://github.com/DIYgod/RSSHub into dykszx

* Merge branch 'master' of https://github.com/DIYgod/RSSHub into dykszx

* tmp1

* tmp2:

* tmp3

* feat(route):  add 政府公开信息

* feat(route):  add 政府公开信息

* feat(route):  add 政府公开信息

* feat(route):  add 政府公开信息

* feat(route):  add 政府公开信息

* Revert "feat(route):  add 政府公开信息"

This reverts commit c9d59af9e09b14f7357014382037b7f378d65ea7.

* feat(route):  add 政府公开信息

* fix: 修复德阳政府公开信息

* fix: 修复德阳政府公开信息

* Merge branch 'master' of https://github.com/DIYgod/RSSHub into fix_router

* Merge branch 'master' of https://github.com/DIYgod/RSSHub into fix_router

* Merge branch 'master' of https://github.com/DIYgod/RSSHub into fix_router

* fix: 修复德阳政府公开信息

Co-authored-by: GitHub Action <action@github.com>
2022-04-03 22:52:45 +08:00
Ethan Shen be5dd42e09 feat(route): add 安徽省科技厅 (#9387)
* feat(route): add 安徽省科技厅

* update lib/v2/gov/radar.js

* refactor: sort radar in alphabetical order
2022-03-26 18:12:54 +08:00
Ethan Shen d84ab79163 feat(route): add 中华人民共和国外交部外交动态 (#9348)
* feat(route): add 中华人民共和国外交部外交动态

* fix: wrong pubDate
2022-03-22 04:20:12 +08:00
liuxsdev 007948efcd feat(route): 生态环境部-要闻动态 (#9248)
* feat(route): 生态环境部-要闻动态
2022-03-08 21:49:30 +08:00
LyleLee ba9891f578 feat(route): 美国白宫科学技术政策办公室 US Whitehouse Office Of Science And… (#9246)
* Add whitehouse/ostp 美国白宫科学技术政策办公室 US Whitehouse Office Of Science And Technology Policy

* Add whitehouse OSTP, update english docs
2022-03-06 20:11:34 +08:00
Fatpandac 3b53c4430e feat(route): add 工业和信息化部 (#9221)
* feat(route): add 工业和信息化部

* fix(route): change route path, docs and refactor to V2
2022-03-05 23:22:46 +08:00
Ethan ShenandTonyRL 171ee3b006 fix(route): World Health Organization Newsroom (#8012)
* fix(route): World Health Organization Newsroom

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-23 21:55:13 +08:00
Ethan ShenandTonyRL cc7ef5edfc feat: add whitehouse briefing room (#7311)
* feat: add whitehouse briefing room

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-19 20:50:20 +08:00