Commit Graph
7263 Commits
Author SHA1 Message Date
karasuandTony 14d49eea38 fix(route): linkresearcher (#17681)
* fix(route): linkresearcher

* Update lib/routes/linkresearcher/index.ts

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

* Update lib/routes/linkresearcher/index.ts

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

* Update lib/routes/linkresearcher/index.ts

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

* Update lib/routes/linkresearcher/namespace.ts

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

* feat: bilingual support

* feat: add author and doi

---------
2024-11-22 08:29:14 -08:00
Tsuyumi 5cb34379c3 feat(route): fix syosetu & add more routes (#17500)
* fix(route): syosetu

* feat: add search route & narou package

* chore: cleanup

* feat: cache search & art template

* fix: __dirname

* chore: cleanup

* feat: add dev route

* chore: cleanup

* refactor: improve syosetu route params and search handling

* feat: add ranking routes

* feat: add radar items for syosetu rankings
- Add BEST5 radar items for rankings
- Standardize title format
- Improve params naming

* chore: add space

* chore: cleanup

* chore: add ranking options type hint & cleanup

* refactor: change route parameters from path params to query strings
- Change optional parameters from path params (/:params) to query strings (?limit=N)
- Remove unnecessary cache
- Extract ranking-related types and constants to separate files
- Extract isekai ranking handling to a separate file
- Enhance code structure and readability

* feat: improve usability and short novel update handling

- Add chapter display support
- Fix chapter route radar
- Optimize ranking and search limits
- Use novelupdated_at as pubDate for short novels

* fix: request more items to handle tensei/tenni duplicates

* fix: limit ranking items to maximum of 300
2024-11-23 00:09:33 +08:00
Rick Lahaye 6dc521e38c fix(twitter): set title to author (#17673) 2024-11-22 23:50:05 +08:00
karasu f1b270d7ff feat(route): cybersecurityventures (#17677)
* feat(route): cybersecurityventures

* update feeds title
2024-11-22 21:15:19 +08:00
Keo cc23a80bb0 feat(route/pixiv): add language attributes for novels (#17667)
* feat(route/pixiv): add language tags for novels

* rm redundant elements
2024-11-22 21:10:31 +08:00
Yoki WongandCNYoki 7c4d3cc5f7 feat(route): add route for social science journals (#17656)
* Sociology Studies Jounal

* Sociology Stuides Journal

* delete error description

* fix category name

---------

Co-authored-by: CNYoki <i@yokii.cn>
2024-11-22 20:48:26 +08:00
pseudoyu 63fae038ba refactor(route/xiaohongshu): merge helper methods to util 2024-11-22 14:19:19 +08:00
Gnosnay 1ec9ab9f06 fix(route/xueqiu): fix getting cookie logic (#17675)
* fix(route/xueqiu): fix getting cookie logic

* fix(route/xueqiu): fix according to review
2024-11-21 19:15:00 -08:00
Tony d78a47ec7b fix(core/cache): update cache key generation to include query limit (#17674) 2024-11-22 01:41:11 +08:00
Tony 7416065640 feat(route): thepaper user (#17666) 2024-11-22 00:03:04 +08:00
pseudoyu e286c77901 feat(route/xiaohongshu): add fallback get notes logics 2024-11-21 23:06:11 +08:00
pseudoyu 790ea65fa7 feat(route/xiaohongshu): merge notes route to user and enable cookie 2024-11-21 22:22:20 +08:00
dddaniel1andTony f9641b5aef fix(route): xiaohongshu fulltext add cookie authentication (#17228)
* fix(route/xiaohongshu) add cookie authentication

* fix(route/xiaohongshu) add cookie authentication

* fix(route/xiaohongshu) add cookie authentication

* fix(route/xiaohongshu) add method annotation

---------

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2024-11-21 21:53:37 +08:00
Kawauso 5d967b0de3 revert(route/xiaohongshu): add current time as pubDate (#17665)
Reason for revert: The change did not meet the expected behavior or caused issues.
2024-11-21 21:42:13 +08:00
XU Ke e7d732b397 fix(/tongji/sem): Add the correct icon (#17662) 2024-11-21 18:41:08 +08:00
XU Ke 0179806f52 fix(/scu/scupi): optimize the layout (#17653) 2024-11-21 16:35:25 +08:00
cnk 9d7e28c4a2 fix(route): add radar rules for ‘哈尔滨理工大学教务公告’ (#17657) 2024-11-21 15:14:58 +08:00
karasu 2070264d57 feat(route): 円谷ステーション (#17650)
* feat(route): m-78

* add updated

* fix error tips

* Update lib/routes/m-78/news.ts

---------
2024-11-20 23:58:39 +08:00
Keo 7e17a500cb fix(route/idolmaster): fix doc (#17640) 2024-11-20 01:12:35 -08:00
sicheng1806 c48361ae8f feat(route): add 「ONE · 一个」http://wufazhuce.com (#17637)
* Add my new route for http://wufazhuce.com

* build it with got totally

* use spread operator over Array#concat(...)

* use namespace wufazhuce instead of one, and correcte some habits.

* use .tab-content instead of #main-container

* add category in item
2024-11-20 08:35:27 +00:00
Keo 6940c4abe6 feat(route): add idolmaster news (#17619)
* feat(route): add idolmaster

* fix toUpperCase

* fix indent

* Update lib/routes/idolmaster/news.ts

* fix var name

---------
2024-11-20 15:24:32 +08:00
Tony 6b6837567c fix: radar rules (#17639)
- remove search parameters in source
- maintain the same hostname in `source` of each radar rule
2024-11-20 14:52:02 +08:00
github-actions[bot] 7e5502f161 style: auto format 2024-11-20 03:28:26 +00:00
danderschanddandersch 210f4d90d4 feat(route/steam/search): add thumbnails to steam search items (#17638)
Co-authored-by: dandersch <git@andersch.dev>
2024-11-20 11:26:09 +08:00
pseudoyu 63e4c925d7 fix(route/xiaohongshu): add current time as pubDate 2024-11-20 08:09:18 +08:00
Tony a41cfc79ec fix(youtube): handle empty channel (#17633) 2024-11-19 20:08:58 +08:00
lifetravelerandDESKTOP-EMU7G44\randomtree 100ee1f6b7 feat: add new route about air-level 空气质量 (#17594)
* 123

* 空气质量

* 重复代码,无用代码删除

* 格式化代码-注释重新生成

* resolve pr problem

* 1. Using String() on a string is redundant.
2. example should start with / and the namespace
3.Do not start the description with line breaks.

* fix: add category

---------

Co-authored-by: DESKTOP-EMU7G44\randomtree <548880923@qq.com>
2024-11-19 10:20:28 +08:00
Ethan Shen e0d9b7996a fix(route): 78动漫 (#17598)
* fix(route): 78动漫

* fix typo
2024-11-19 02:50:00 +08:00
Tony d9ca0d09b1 feat(route): patreon (#17621)
* feat(route): patreon

* fix: typo

* fix: typo
2024-11-19 02:21:24 +08:00
Tony ae98fe1d51 docs: update maintainer github id
#4083
2024-11-18 11:08:56 +08:00
Kyle-You 34053adf69 feat: add icon for /scu/jwc (#17603) 2024-11-17 09:28:02 +00:00
Kyle-You 97cdb212b6 feat(route): add scu jwc notice (#17014)
* 添加SCU教务处通知公告路由

* 空提交

* feat(route): cache tzgg

* Update lib/routes/scu/jwc/tzgg.ts
2024-11-16 23:11:51 -08:00
github-actions[bot] af7e399cff style: auto format 2024-11-15 19:05:48 +00:00
quiniapiezoelectricityandTony 7ce029a051 feat(route): add dw route (#17575)
* feat(route): add dw route

* fix

* Apply suggestions from code review

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

* Apply suggestions from code review

* Apply suggestions with code review

* add mp4 video src

* fix: preload metadata

--------
2024-11-16 03:03:52 +08:00
Stephen Zhou 682d95496c fix(bilibili)!: update article api (#17586)
* fix(bilibili): update article api

* fix(bilibili): use default ua

---------
2024-11-16 01:13:46 +08:00
Tony adbe01dad7 feat(route): wallstreetcn (#17597)
* feat(route): wallstreetcn

* fix(route): correct country_id reference in link generation
2024-11-16 00:05:15 +08:00
lifegpc 4b6658605a fix(twitter)!: 修复Twitter 长文本显示不全 (#17596)
* Try fix

* apply fix for mobile api
2024-11-15 23:48:09 +08:00
Tony 47ae077dee feat(route): qstheory magazine (#17591) 2024-11-15 19:52:40 +08:00
Tony e8f020e31c feat(mastodon): add 'fosstodon.org' to allowed site list 2024-11-15 18:37:04 +08:00
Tony b857abcf42 feat(route): javtrailers (#17590)
* feat(route): javtrailers

* feat(casts): enhance description with castWiki data
2024-11-15 18:13:49 +08:00
Webber Qianand钱巍 2cc724fc9b fix: example edit or authentication source (#17583)
* feat: new router logrocket

* fix: router

* fix:article edit

* fix:remove unused file

* fix: example edit or authentication source

* fix:example

---------

Co-authored-by: 钱巍 <wei.qian_ext@aispeech.com>
2024-11-15 14:04:34 +08:00
Webber Qianand钱巍 44d1333b4b feat: new router logrocket (#17533)
* feat: new router logrocket

* fix: router

* fix:article edit

* fix:remove unused file

---------

Co-authored-by: 钱巍 <wei.qian_ext@aispeech.com>
2024-11-15 11:07:09 +08:00
Tony 8550150086 fix(route/inspirehep): fix getAuthorById custom accept header (#17574) 2024-11-13 09:27:46 -08:00
Tsuyumi c37d64c26b fix: Use renote ID for cross-instance notes (#17572) 2024-11-14 00:12:26 +08:00
Andvari 716c0a3291 feat(route/caixin): Add support for photos channel. Example: https://photos.caixin.com/2024-11-02/102252287.html (#17566)
* feat(route/caixin): Add support for photos channel. Example: https://photos.caixin.com/2024-11-02/102252287.html

* Update utils-fulltext.ts

* .
2024-11-13 22:38:58 +08:00
Tony f6c2ebb4ab fix(route/oschina): improve cookie handling (#17564) 2024-11-13 11:47:47 +08:00
489630a1b9 feat(route): add Science Tokyo News 東京科学大学ニュース (#17550)
* chore(deps): bump telegram from 2.26.2 to 2.26.6 (#17384)

* chore(deps): bump telegram from 2.26.2 to 2.26.6

Bumps [telegram](https://github.com/gram-js/gramjs) from 2.26.2 to 2.26.6.
- [Release notes](https://github.com/gram-js/gramjs/releases)
- [Commits](https://github.com/gram-js/gramjs/commits)

---
updated-dependencies:
- dependency-name: telegram
  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: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* 基础功能实现

* Update lib/routes/isct/namespace.ts

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

* Update lib/routes/isct/news.ts

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-12 18:04:09 -08:00
Tony dee35fad1b fix(route/natgeo): replace got with ofetch for content loading and im… (#17562)
* fix(route/natgeo): replace got with ofetch for content loading and improve data extraction

* fix(route/natgeo): include image source in content loading
2024-11-13 03:33:02 +08:00
Tony f4c0c98fa5 feat(route): vertikal (#17561)
* feat(route): vertikal

* fix(route/vertikal): standardize title string quotes in latest.ts
2024-11-13 02:59:05 +08:00
TonyandCaoMeiYouRen 40d4a1f81a fix(route): 修复 部分情况下 url.expanded_url 可能为 undefined 的问题 (#17560)
fix #17382

Co-authored-by: CaoMeiYouRen <996881204@qq.com>
2024-11-13 01:16:55 +08:00