Commit Graph
6959 Commits
Author SHA1 Message Date
Stephen Zhou b3d8bc861d feat: extract content (#17099)
* feat: extract content

* chore: update

* cache.tryGet

* fix: cache whole item

---------
2024-10-15 00:37:05 +08:00
TsuyumiandTony e4deee086f feat(route): add route for skeb (#17047)
* feat(route): add route for skeb

* fix: wrap function call in map() to resolve ESLint warning

* refactor: Enhance type safety and rename functions for Work and Creator processing

* refactor: optimize followings API and caching logic

* fix: remove request_key

* fix: resolve request_key issues in works API
- Fetch request_key from initial API response and cache it
- Replace hardcoded User-Agent with config.ua

* fix: misc improvements
- Remove unnecessary InvalidParameterError checks and imports
- Simplify route names by removing "Skeb" prefix
- Set refresh to false in Skeb API cache
- Fix typo in search.ts filename

* fix: remove URL fragments from radar sources

* refactor: Optimize category structure and enhance data processing
- Remove 'request_masters' and 'first_requesters' categories as they are not creators
- Implement template rendering for richer output
- Enhance work data processing with audio handling
- Improve creator data with commission status information

* fix: add __dirname

* fix: prevent potential function loop from unexpected API errors

* Update lib/routes/skeb/works.ts

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

* fix: correct Skeb bearer token naming and references

---------
2024-10-14 23:18:02 +08:00
Dlouxgit 2dd0033b4b fix(route/5eplay): update data acquisition method (#17120)
fix #17067
2024-10-13 22:26:19 -07:00
kaho 3cd690ad24 fix(route): dlsite (#17103)
* fix(route): dlsite

* revert

* fix: `/dlsite/ci-en/:id/article`

* fix: route order
2024-10-14 03:01:33 +08:00
Ethan Shen bb74dad387 feat(route): add 国门传媒在线中国海关 (#17093)
* feat(route): add 国门传媒在线中国海关

* fix: categories

---------
2024-10-14 02:31:06 +08:00
mobyw 5360e267eb feat(route): update routes for uestc jwc and gr (#17092)
* feat(route): update routes for uestc jwc and gr

* fix: add missing path arg of uestc gr

* feat: update example of uestc gr
2024-10-14 01:32:49 +08:00
RieN 7z 21e9405b53 feat: add route ipsw.dev (#17074)
* [feat(routes)] Add ipsw.dev support

* fix: use art-template

* fix: host

* fix: add __dirname

* fix: namespace

---------
2024-10-14 00:46:12 +08:00
Ethan Shen b98c446a03 feat(route): add AIbase (#16937)
* feat(route): add AIbase

* fix: template for description

* update util.ts
2024-10-14 00:08:20 +08:00
quiniapiezoelectricity bdb3295cd8 fix(route/oncc): fix art-template (#17116) 2024-10-13 15:18:11 +00:00
xxx.Yan 9376572d33 feat(route): add route UK Parliament Commons Library research by topic (#16941)
* feat(route): add route UK Parliament Lords Library Research by Topic

* chore(route): rename parameter from tag to topic.

* feat(route): add route UK Parliament Commons Library Research by Topic

* chore(route): update parameters desc.

* fix: close browser after puppeteer usage

---------
2024-10-13 04:09:59 +08:00
xxx.Yan b1a030c5f0 feat(route): add route UK Parliament Lords Library research by topic (#16933)
* feat(route): add route UK Parliament Lords Library Research by Topic

* chore(route): rename parameter from tag to topic.

* fix: close browser after puppeteer usage

---------
2024-10-13 03:33:39 +08:00
After9 830be61360 fix(route): change url in /tvb/news (#17098) 2024-10-12 12:02:40 +08:00
pseudoyu b6961b91e4 feat(route): also support podcast id in xiaoyuzhou 2024-10-11 16:19:38 +07:00
Stephen Zhou a4daf28ca5 fix: catch Invalid Date (#17081) 2024-10-10 21:21:35 -07:00
Tsuyumi afb755449b fix(misskey): Handle renotes properly to improve content display (#17078) 2024-10-11 03:56:58 +08:00
Ethan Shen 4fac950af8 feat(route): add 中国豆制品网 (#17029)
* feat(route): add 中国豆制品网

* fix typo
2024-10-11 00:39:08 +08:00
cjc7373 13b2e389d0 fix: duplicated items in ershcimi (#17073) 2024-10-10 20:43:27 +08:00
Tsuyumi 30717089d4 feat(misskey): Include file attachments in user notes API request (#17068) 2024-10-10 11:24:53 +08:00
Zhitao Chenandcztchoice 5f20f4d6ab feat(roure): fix xueqiu relateroute (#17048)
* fix xueqiu relate route

* Update lib/routes/xueqiu/cookies.ts

---------

Co-authored-by: cztchoice <cztchoice+wsl@gmail.com>
2024-10-10 11:11:23 +08:00
zipated 6a2cff9a22 feat(route): update fanbox (#17065) 2024-10-10 00:58:26 +08:00
fooksky 347f84caad fix(route): bilibili vsearch (#17064) 2024-10-09 07:44:55 -07:00
Neko Aria b20f9f70dc fix(route/bangumi): update follow rank parsing logic (#17050)
* fix(bangumi): update follow rank parsing logic

* fix(bangumi): update follow rank parsing logic

* fix(route/bangumi): update follow rank parsing logic
2024-10-09 22:23:15 +08:00
Shinku d24ab8acae docs: news.cn namespace change to 新华社 (#17056) 2024-10-09 08:56:12 +00:00
pseudoyu a86f8f6470 chore(route): add apnews api tag options 2024-10-09 11:29:32 +07:00
pseudoyu 98b7703e95 fix(route): use apnews api instead of official rss (down now) 2024-10-09 11:17:02 +07:00
quiniapiezoelectricity 755ba8cdaa fix(route/lorientlejour): fix subcategories (#17049) 2024-10-09 10:59:06 +08:00
quiniapiezoelectricity 6e12769701 feat(route/lorientlejour): fix limit query and add multiple categories functionality (#17045) 2024-10-08 22:52:38 +00:00
Tony 2a1af7dc90 fix(cache): store cache TTL (#17044) 2024-10-09 00:37:02 +08:00
Ethan Shen 3a64e9eb91 feat(route): add 中华人民共和国国家发展和改革委员会政府信息公开 (#16850)
* feat(route): add 中华人民共和国国家发展和改革委员会政府信息公开

* update to existing route

* feat(route): add 中华人民共和国国家发展和改革委员会政府信息公开
2024-10-09 00:21:50 +08:00
削微寒 1e56460b81 fix: update route HelloGitHub (#16823) 2024-10-09 00:04:13 +08:00
quiniapiezoelectricity 6deef181c5 feat: Add L'Orient-Le Jour Route (#17030)
* feat: Add L'Orient-Le Jour Route

* fix codefactor

* fix codefactor
2024-10-08 23:34:34 +08:00
Ethan Shen 5865a2c883 feat(route): add 华中科技大学机械科学与工程学院 (#17036) 2024-10-08 22:51:31 +08:00
karasu a3f153d5c9 fix(route/follow): filter inbox (#17037) 2024-10-08 22:20:36 +08:00
dependabot[bot]andpseudoyu 749f24704a chore(deps): bump @scalar/hono-api-reference from 0.5.150 to 0.5.152 (#17040)
* chore(route): add nytimes popular routes

* chore(deps): bump @scalar/hono-api-reference from 0.5.150 to 0.5.152

Bumps [@scalar/hono-api-reference](https://github.com/scalar/scalar/tree/HEAD/packages/hono-api-reference) from 0.5.150 to 0.5.152.
- [Changelog](https://github.com/scalar/scalar/blob/main/packages/hono-api-reference/CHANGELOG.md)
- [Commits](https://github.com/scalar/scalar/commits/HEAD/packages/hono-api-reference)

---
updated-dependencies:
- dependency-name: "@scalar/hono-api-reference"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* chore: fix pnpm install

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: pseudoyu <pseudoyu@connect.hku.hk>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-08 06:28:36 -07:00
pseudoyu a400f6ee03 chore(route): add nytimes popular routes 2024-10-08 16:29:59 +07:00
pseudoyu 7640f6355a chore(route): change nytimes intro and desc 2024-10-08 13:54:10 +07:00
pseudoyu 4fb7b2acdd fix: change nytimes namespace 2024-10-08 13:40:20 +07:00
pseudoyu c0a7b556c8 chore: remive natgeo from popular 2024-10-08 13:38:07 +07:00
Loongphy Wei 00d66286f1 feat: add cohere blog route (#17015)
* feat: add cohere blog route

* Update lib/routes/cohere/index.ts
2024-10-07 07:37:15 -07:00
Andvari 471d146dff fix(route/zhihu): Sanitize the title when parsing "pins" with links. (#17010)
* fix(route/zhihu): Sanitize the title when parsing "pins" with links.

* Use `sanitizeHtml` instead

---------
2024-10-07 08:54:44 +08:00
ueiu 3f7c467b70 fix(route/sciencenet): 修复科学网 - 用户博客没有按照时间线倒序排序 (#17007) 2024-10-07 08:26:41 +08:00
J. H. Cao 8a60688bda fix(route/huggingface): sanitize the pubDate value to capture blog publication date (#17016) 2024-10-06 15:35:14 -07:00
DIYgod 77bf780b95 fix(twitter): lock ceil 2024-10-07 02:08:31 +08:00
DIYgod 9b144a715f fix(twitter): debug 2024-10-07 01:50:26 +08:00
DIYgod 6f6373932d fix(twitter): gt cookie 2024-10-07 00:26:09 +08:00
DIYgod a2ca21a11b feat(twitter): allowNoAuth for UserByScreenName api 2024-10-06 23:23:17 +08:00
DIYgod c4102fa072 feat(twitter): handle response headers rate limit 2024-10-06 23:10:03 +08:00
DIYgod e74f708586 fix(twitter): import logger 2024-10-06 20:42:44 +08:00
DIYgod bac798ae97 feat(twitter): try catch allow empty content 2024-10-06 20:30:31 +08:00
DIYgod 19ea5ccc98 feat(twitter): 429 debug 2024-10-06 19:30:37 +08:00