Commit Graph
7893 Commits
Author SHA1 Message Date
Ethan Shen 24bd98e607 feat(route): add 中国汽车流通协会汽车市场研究分会 (#15314) 2024-04-21 02:27:58 +08:00
Mg Pig 8eccccc59c fix(core): request-rewriter proxy ignore loopback address and puppeteer ws endpoint (#15293) 2024-04-19 23:58:43 +08:00
Tony b3eb3f3a0b feat(route): add back twitter 2fa (#15292)
ref: https://github.com/DIYgod/RSSHub/commit/95ace0991774042f32c21a26a8fc5f85eb124646
2024-04-19 22:29:34 +08:00
碳黑橙子 1a3720ab4d feat(route): Add 上海业余无线电协会 (#15290)
* feat(route): Add 上海业余无线电协会

* fix(route): fix type error
2024-04-19 20:54:14 +08:00
Ethan Shen 195c057fea feat(route): add 德恒律师事务所德恒探索 (#15287)
* feat(route): add 德恒律师事务所德恒探索

* fix logo

* fix node path

* update index.ts

* fix typo
2024-04-19 02:52:24 +08:00
Andvari 166e1fd753 fix(route/reuters): Using by topic fetching method for tags, (#15285) 2024-04-18 23:03:15 +08:00
Tony 9ef453e501 style: run prettier before eslint 2024-04-18 22:44:04 +08:00
github-actions[bot] a11404ee02 style: auto format 2024-04-18 14:07:09 +00:00
Rongrong a99b35f257 feat(core/utils/wechat-mp): major rewrite (#15276)
* feat(core/utils/wechat-mp): major rewrite

* Support more `item_show_type`: `APP_MSG_PAGE`, `VIDEO_SHARE_PAGE`,
`AUDIO_SHARE_PAGE`, and `IMG_SHARE_PAGE`. Previously only the first one
could be parsed properly. There are still some other known types waiting
for live examples for further adaptation. If this is the case, a
fallback method will try to generate entries using mostly OpenGraph
metadata. Meanwhile, the administrator of self-hosted instances will see
warnings in the log, asking them to report the URL as a new live
example. Still, `VIDEO_SHARE_PAGE` explicitly uses the fallback method
without any warning, as there is no possible approach to generate a
video/iframe URL from page metadata.

* Show audio and videos in `APP_MSG_PAGE`. However, not all videos
can be shown due to the same reason as `VIDEO_SHARE_PAGE`.

* Show the location where the article is sent.

* Some bugs, mostly due to outdated cheerio selector, are fixed.

* Add a new sub-route `wechat-mp` to `/test` to make things easier.

* All changes are well-tested.

Signed-off-by: Rongrong <i@rong.moe>

* style(core/utils/wechat-mp): fix ESLint & CodeQL errors

Signed-off-by: Rongrong <i@rong.moe>

* style(core/utils/wechat-mp): fix a DeepScan issue

Signed-off-by: Rongrong <i@rong.moe>

* style(core/utils/wechat-mp): fix ESLint error

Another try w/ pre-commit hook disabled.

Signed-off-by: Rongrong <i@rong.moe>

---------

Signed-off-by: Rongrong <i@rong.moe>
2024-04-18 22:05:32 +08:00
karasu 28504a1974 fix(route): qingting (#15280) 2024-04-18 09:58:15 +00:00
Raven-tu d21c4dd4ef fix: bilibili cache issue and close puppeteer after getting cookie (#15282) 2024-04-18 09:39:19 +00:00
Henry Wangandpull[bot] 5c3711cbcc feat: support .rss3 output type (#15258)
Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
2024-04-18 02:10:33 +08:00
葉家郡andJia-Jun Yeh 1bb97aea85 feat(route): 0x80.pl (#15266)
* add a new routes of 0x80.pl

* Sort import list in index.ts

* Update index.ts

---------

Co-authored-by: Jia-Jun Yeh <jun.yeh@stranity.com>
2024-04-17 16:20:44 +08:00
Acringand刘圳 d9051070f8 feat(route): add apple podcast route (#15255)
* feat: add apple podcast route

Signed-off-by: 刘圳 <liu.zhen@xsky.com>

* Update lib/routes/apple/podcast.ts

---------

Signed-off-by: 刘圳 <liu.zhen@xsky.com>
Co-authored-by: 刘圳 <liu.zhen@xsky.com>
2024-04-17 14:57:01 +08:00
karasu 31f578d694 fix(route): qingting (#15251)
* fix(route): qingting

* fix: set default value for `qingtingId`

* fix: typo
2024-04-17 14:34:41 +08:00
Tony 0456ca9541 fix(core): remove unicode control characters in item description (#15263) 2024-04-17 02:51:05 +08:00
Andvari 5a566e6d72 fix(route/bing): Replace got (#15237)
* fix(route/bing): Replace `got`

* .

* Update daily-wallpaper.ts
2024-04-17 02:39:50 +08:00
Ethan Shen f71451dfc9 feat(route): add Access Briefing (#15259) 2024-04-17 02:27:15 +08:00
Henry Wang 920d1a9379 fix: BBC URL pathname check (#15260) 2024-04-16 17:12:16 +01:00
Maooyer 22551e963f feat(route/mihoyo): enhance miyoushe official post (#15257)
* feat(route/mihoyo): enhance miyoushe offical post

1. get full text post rather than abstracts.
2. add post hashtags as rss.item.category.
3. Set appropriate link.

* fix(route/mihoyo): fix __dirname is not defined error
2024-04-16 23:09:42 +08:00
karasu 3511bb3633 fix(route): zhihu/activities (#15252) 2024-04-16 17:06:10 +08:00
Tony 258e895f00 fix(route): freexcomic (#15240) 2024-04-16 05:35:33 +08:00
Tony 634b910c0a fix(route): threads (#15239) 2024-04-16 02:21:12 +08:00
GideonSenkuandpull[bot] afc5e3396a feat(route): 新增江苏文化和旅游局审批公告 (#14978)
* feat(route): add jiangsu wlt

* fix: link url

* fix: rule

* fix: node ptah

---------

Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
2024-04-15 23:01:48 +08:00
Minaduki Shigure b09cf324f9 fix(route): 南京大学 本科生院教务 (#15238) 2024-04-15 17:51:33 +08:00
欠陥電気 dc093eb2e3 fix(route): update mixcloud (#15236) 2024-04-15 17:13:04 +08:00
Maooyer 1c4521897f fix(router): hoyolab news (#15234) 2024-04-15 16:31:04 +08:00
DIYgod 6ce99d9f2e fix(twitter): request headers 2024-04-15 10:28:28 +08:00
Ethan Shen 517fa8d1e0 fix(route): Cool Papers (#15223)
* fix(route): Cool Papers

* fix radar
2024-04-15 00:03:45 +08:00
sirius60111 e2d6718fa2 fix(route): xueqiu user-stock (#15226) 2024-04-14 19:24:28 +08:00
Sunny dbd3826e80 feat(route): Add route for njuferret.github.io (#15219)
* Add route for njuferret.github.io

* Improve: use spread operator

* Update lib/routes/njuferret/blog.ts
2024-04-14 17:00:07 +08:00
JimenezLi d6b6a276e7 fix(route): baozimh newest chapter (#15224) 2024-04-14 02:15:53 +08:00
ubbcou 373b598100 feat: add OpenGithub - Github开源项目月刊精选 (#15181)
* feat: add OpenGithub - Github开源项目月刊精选

* chore: rm files

* fix: property fix
2024-04-13 11:31:01 +08:00
Ethan Shen bed0ab8765 fix(route): 罗磊的独立博客显示原图 (#15203) 2024-04-12 19:47:59 +08:00
a51cc049bf feat: add javdb session config and cookieJar to fakeGot (#14782)
* feat: add javdb session config

* fix: Return data instead of setting ctx.set in JavDB routes

* docs: Add JavDB login instructions to config.md

* docs: Add note about javdb session validity in config.md

* fix: Return data instead of setting ctx.set in JavDB routes

* fix: Update route path in javdb index.ts

Remove '/:category?/:sort?/:filter?', it will cause other module routes to be inaccessible

* chore: Remove unused cookie variable in ProcessItems function

* chore: Unnecessary changes

* chore: Add JAVDB sessions in alphabetical order.

* docs: Add JAVDB sessions in alphabetical order.

* feat: Add support for passing cookies in headers

* test: Add cookieJar test to got.test.ts

* Update lib/utils/got.ts

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

* feat: Update JavDB routes to include optional JAVDB_SESSION in requireConfig

---------

Co-authored-by: zhaoyi.wu <zhaoyi.wu@amh-group.com>
2024-04-12 19:30:42 +08:00
tensor 7c76f385a3 feat: add deepin bss homepage (#15188)
* feat:add deepin bss homepage

* fix: path,name,features,maintainers,description
2024-04-12 18:56:26 +08:00
YunfiandTony 8875432155 fix(route): 西安交通大学 教务处 (#15182)
* fix(route): 西安交通大学 教务处

* Update lib/routes/xjtu/dean.ts

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

---------
2024-04-12 09:49:00 +00:00
karasu a4c1639596 fix(route): caixin (#15209) 2024-04-12 09:06:53 +00:00
Tony 4277880cf9 feat(route): recover esquirehk (#15198)
from https://github.com/DIYgod/RSSHub/commits/master/lib/routes/esquirehk/tag.js
2024-04-12 05:33:30 +08:00
Tony 0a87eaf4be fix(route): dcfever use ofetch instead of got utils (#15194)
* fix(route): dcfever use ofetch instead of got utils

* fix: typo
2024-04-12 01:50:07 +08:00
Rongrong ef8b061ea2 chore(routes/*): fix unreachable code (#15192)
This is a regression introduced in #14718.

Signed-off-by: Rongrong <i@rong.moe>
2024-04-12 00:19:38 +08:00
Rongrong a8813a6311 fix(routes/wechat/tgchannel): title is not mpName (#15193)
This is a regression introduced in 9787a92c.

Use `||` instead of `??` to prevent empty string being used as the feed
title.

Signed-off-by: Rongrong <i@rong.moe>
2024-04-11 23:45:28 +08:00
Terence孫 6b87dfc610 fix(route): zhubai/top20&zhubai/posts/:id (#15189) 2024-04-11 14:16:07 +08:00
Ethan Shen 4655e0952b feat(route): add WordPress (#15171)
* feat(route): add WordPress

* fix docs

* feat: add search keywords
2024-04-11 03:35:55 +08:00
Felix Hsu bec0e6d896 fix(route): the radio.cn in zhibo and album rss (#15145)
* Fix the radio.cn in zhibo and album rss

* use ownerNickName for itunes author
2024-04-10 23:07:10 +08:00
MichealDeath 049cb18153 fix(route): picnob. Change source to 'pixwox.com'. (#15180) 2024-04-10 18:31:02 +08:00
Terence孫 a0ea082fad fix(route): freewechat (#15179) 2024-04-10 09:16:55 +00:00
Vinfall 15476262c8 feat(route): add author in gcores (#15032)
* feat(route): add author in /gcores/catetory

* refactor: add author in /gcores/category
The order of `included` in response should be not considered as fixed.
2024-04-10 16:52:11 +08:00
Tony fe50ecae4c fix(route): seekingalpha (#15173)
* fix(route): seekingalpha

* feat: obtain article from api

* fix: `length` is undefined
2024-04-10 05:06:50 +08:00
Tony ade6b21c95 feat(route)!: remove /500px/user/works/:id due to login wall (#15172) 2024-04-10 03:13:30 +08:00