267 Commits

Author SHA1 Message Date
Tony 87f98ae67a chore: fix rsshub.js.org not working (#14750)
partially revert 8f4c50e22e
2024-03-11 23:52:46 +08:00
DIYgod 8f4c50e22e chore: update outdated chore files 2024-03-09 20:30:59 +08:00
DIYgod 616f26a49d refactor: relocate assets 2024-02-26 15:50:49 +08:00
DIYgod 829b5f0e52 feat: assets routes 2024-02-22 01:38:16 +08:00
Tony 6d901cb7dc style(eslint): add eslint-unicorn (#14257)
* style: add eslint-unicorn

* style: fix unicorn/no-useless-spread

* style: fix unicorn/no-useless-promise-resolve-reject

* style: fix unicorn/no-for-loop

* fix: codeql bad HTML filtering regexp

* fix: codeql incomplete replace

* fix: unicorn/no-abusive-eslint-disable

* style: fix unicorn/no-new-array

* style: fix unicorn/no-typeof-undefined

* style: fix unicorn/no-zero-fractions

* style: fix unicorn/no-empty-file

* style: fix unicorn/prefer-date-now

* revert: auto fix unicorn/prefer-switch on lib/v2/kuaidi100/utils.js

* style: fix unicorn/prefer-array-find

* style: fix unicorn/prefer-array-flat

* style: fix unicorn/prefer-array-flat-map

* style: fix unicorn/prefer-at

* style: fix unicorn/prefer-string-starts-ends-with

* style: fix unicorn/prefer-includes

* fix: codeql URL substring sanitization

* style: fix unicorn/prefer-optional-catch-binding

* style: fix unicorn/catch-error-name

* style: fix unicorn/escape-case

* style: fix unicorn/prefer-native-coercion-functions

* style: fix unicorn/prefer-regexp-test

* style: fix unicorn/require-array-join-separator

* style: fix unicorn/prefer-math-trunc

* style: fix unicorn/prefer-negative-index

* style: fix unicorn/prefer-dom-node-dataset

* style: fix unicorn/prefer-dom-node-text-content

* style: fix unicorn/prefer-query-selector

* style: fix unicorn/no-array-for-each

* style: fix unicorn/no-negated-condition

* style: fix unicorn/prefer-add-event-listener

* style: fix unicorn/import-style

* style: fix prefer-regex-literals

* style: disable unicorn/no-useless-switch-case

* style: disable unicorn/text-encoding-identifier-case

* style: fix unicorn/prefer-set-has

* style: fix unicorn/prefer-spread

* revert: auto fix on lib/routes/universities/ynnu/edu/base64.js

* style: fix unicorn/no-useless-undefined

* style: fix unicorn/no-array-push-push

* style: fix unicorn/no-useless-undefined again

* style: fix unicorn/no-lonely-if

* style: fix unicorn/prefer-reflect-apply

* style: fix unicorn/switch-case-braces

* style: fix unicorn/prefer-switch

* style: fix unicorn/prefer-array-some

* fix: deepscan UNUSED_VAR_ASSIGN

* style: fix unicorn/prefer-ternary

* fix: follow-up of unicorn/prefer-ternary

* revert: auto fix of unicorn/prefer-string-slice for substring()

* style: disable unicorn/prefer-string-slice

fix: auto fix slice over deprecated substr

* style: fix unicorn/throw-new-error

* style: fix unicorn/filename-case

* test: fix dateParser renaming

* style: fix unicorn/better-regex

* style: fix unicorn/prefer-string-replace-all

* fix(deps): add sanitize-html

* style: fix no-prototype-builtins

* style: fix unicorn/consistent-destructuring

* style: fix unicorn/consistent-function-scoping

* style: fix unicorn/prefer-regexp-test

* style: fix unicorn/prefer-logical-operator-over-ternary

* style: fix unicorn/no-array-callback-reference

* style: add prefer-object-has-own

* style: warn unicorn/no-empty-file

* style: fix unicorn/prefer-number-properties

* style: fix no-useless-undefined again

* style: fix unicorn/numeric-separators-style

* style: disable unicorn/no-array-callback-reference

false postive with cheerio
2024-01-18 20:43:40 +08:00
CC 76fcc69c43 PlayStation Monthly Games 2023-12-27 15:14:05 +08:00
DIYgod 7d3e56d303 feat: remove notOperational routes - other 2023-12-21 23:54:02 +08:00
DIYgod 78001402b5 feat: remove notOperational routes - reading 2023-12-21 23:12:31 +08:00
DIYgod 103aae26d8 feat: remove notOperational routes - shopping 2023-12-21 22:54:12 +08:00
DIYgod 589b587397 feat: remove notOperational routes - program-update 2023-12-21 22:39:14 +08:00
DIYgod 7a8c1bc18f feat: remove notOperational routes - anime 2023-12-21 22:25:58 +08:00
DIYgod 6d898277a0 feat: remove notOperational routes - multimedia 2023-12-20 01:52:09 +08:00
DIYgod f1a9223aac feat: remove notOperational routes - programming 2023-12-20 00:01:03 +08:00
DIYgod 47068bfae5 feat: remove notOperational routes - blog 2023-12-19 22:46:03 +08:00
DIYgod f812e915a4 feat: remove notOperational routes - bbs 2023-12-19 22:29:51 +08:00
DIYgod ea6ec949bf feat: remove notOperational routes - traditional media 2023-12-19 22:03:27 +08:00
DIYgod 442d68e189 feat: remove notOperational routes - new media 2023-12-19 00:49:24 +08:00
DIYgod 4cf17c004c feat: remove notOperational routes - social media 2023-12-18 22:33:53 +08:00
tuzi3040 c4c947d237 feat(route): migrate japanpost to v2 (#13181)
* feat(route): migrate japanpost to v2

fix(route): japanpost: fix cheerio custom methods
fix(route): japanpost: fix manual timezone parse

* Apply suggestions from code review

* Apply suggestions from code review

---------
2023-09-02 03:08:16 +08:00
DIYgod 8a58d74922 docs: documentation prioritizes English and maintains only one route list (#13075) 2023-08-20 15:57:05 +01:00
TonyRL ddbc760dc8 docs: fix new docs link 2023-08-16 13:04:07 +00:00
DIYgod 7b65ba69bb feat: add docusaurus website (#13039) 2023-08-15 03:12:12 +01:00
Li Xuetao 166661fb62 fix(route/ximalaya): categoryInfo is undefined (#12940)
* fix(route/ximalaya): categoryInfo is undefined

* fix(route/ximalaya): categoryInfo is undefined

* refactor: migrate to v2

---------
2023-08-08 03:49:06 +08:00
Ethan Shen 377a31fc9d fix(route): 141JAV & 141PPV (#12594)
* fix(route): 141JAV & 141PPV

* fix radar
2023-06-04 21:53:51 +08:00
Tony b6f06abb55 chore: strict radar and maintainer build (#12214)
* chore: strict radar and maintainer build

* test(coverage): exclude build script
2023-04-01 05:53:40 +08:00
Ethan Shen ca9efda5d4 fix(route): 日本经济新闻中文版 (#11994)
* fix(route): 日本经济新闻中文版

* fix: missing language

* refactor: migrate nikkei to v2

* refactor: merge nikkei-cn into nikkei

* refactor: merge nikkei-asia into nikkei

---------
2023-03-06 23:52:11 +08:00
Tony 7e28a20aac refactor(route): migrate qdaily to v2 (#12033)
* refactor: migrate qdaily to v2

* fix: combine category
2023-03-04 00:57:48 +08:00
Tony 09739e3de0 fix(route): instagram rework (#11946) 2023-02-24 05:39:47 +08:00
Tony 6bdf67c69e refactor: merge ncm with 163 (#11891)
* feat(route): 支持网易云音乐用户动态 (#11270)

* feat(route): add 网易云音乐用户动态

* docs(route/ncm): 用户动态文档

* feat(route/ncm): 支持 radar.js

* feat(route/ncm): description 中添加图片

(但未增加歌曲、专辑、节目等)

* refactor: merge ncm with 163

* fix: throw playlist if cookie is not set

---------

Co-authored-by: Hash <master-hash@outlook.com>
2023-02-17 02:21:11 +08:00
Tony fcdc18fe44 fix(route): yuque (#11863)
* fix(route): yuque

* docs: fix paramsDesc
2023-02-14 21:02:23 +08:00
Fatpandac 8283cd260a fix(route): change to use api get data and refactor to v2 (#11809)
* fix(route): change to use api get data and refactor to v2

* fix(route): remove unreachable condition

* refactor: change route path

feat!: remove `/open163/latest` since `https://c.open.163.com/open/getLatestMovies.do` is broken

* fix: radar

---------
2023-02-14 02:15:52 +08:00
Tony 131374c059 fix(route): copymanga (#11670) 2023-01-23 05:06:15 +08:00
Rongrong c3e78ee7df fix(route/weibo/*): sinaimg anti-hotlinking (#11320)
* fix(route/weibo/*): sinaimg anti-hotlinking

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

* refactor: migrate to v2

* Fix CodeQL warning

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

* Fix CodeQL warning again

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

* Narrow sinaimg URL regex

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

* Fix CodeQL warning again and again

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

* Fix CodeQL warning again, again and again

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

* More accurate regex, dismiss CodeQL plz

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

Signed-off-by: Rongrong <i@rong.moe>
2022-11-28 03:37:43 +08:00
Raven-tu 0491102520 fix(route): smzdm ranking error (#11114)
* fix: smzdm ranking error

* refactor: migrate to v2

* docs: fix path
2022-10-22 04:37:33 +08:00
Raven-tu cb0706b167 fix(route): 修复快递100快递订单追踪路由 (#11076)
* fix:修复快递100查询服务

* Update utils.js

Extend the cookie cache time.

* refactor: migrate to v2
2022-10-14 20:01:56 +08:00
Ethan Shen 1fd2a8f273 feat(route): add 8视界标签 (#10937) 2022-09-29 00:00:53 +00:00
Axojhf 67fe3a0cfa fix(route): Fix saraba1st thread cannot get image (#10906)
* add saraba1st Cookie Environment.
fix thread img issue

* add Saraba1st config to Install Doc

* fix imgHtml

* fix timezone

* refactor: migrate to v2
2022-09-26 20:52:50 +08:00
Ethan Shen 89ee2f92e0 fix(route): 站酷发现 (#10839)
* fix(route): 站酷发现

* fix(route): zcool top & user
2022-09-21 00:52:05 +08:00
Axojhf 2600c1ab16 fix(route): 修复bangumi吐槽箱无法获取评分的问题 (#10780)
* 修复bangumi吐槽箱无法获取评分的问题

* refactor: migrate to v2

* fix: subject date parsing

* fix: old routes

* fix: sort maintainer
2022-09-15 04:16:29 +08:00
shininome 41e4d7cf84 feat: 添加漫画柜个人订阅 (#10727)
* 1

1

* 添加个人订阅

* Delete 1

* Add files via upload

* 添加mhgui的cookie获取

* 添加manhuagui个人订阅

* Add files via upload

* Update subscribe.js

* Update subscribe.js

* style: auto format

* 修改 manhuagui/selfhost=1

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

* Update docs/anime.md

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

* manhuagui规范文档

* style: auto format

* 添加漫画柜渲染文件

* 使用模板渲染,修改radar格式

* style: auto format

* refactor: migrate to v2

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-07 22:32:41 +08:00
Tony be39871730 fix(route): dcard (#10705)
* fix(route): dcard

* docs: anti crawler attr
2022-09-06 00:20:27 +08:00
miles 9757d7e5be feat(route): add 起点作者页面的作品 (#10643)
* feat(route): add 起点作者页面的作品

* fix(route): 起点作者缺少 v2 路由必要文件

* fix(route): typo

* fix(route): remove redundant code

* fix(route): author accepts pure string only

* refactor(route): cleanup code

* fix(route): remove old date parser

* refactor: migrate to v2
2022-08-30 01:20:52 +08:00
Tony 256387bd25 feat(route): pixiv novels (#10647)
* feat(route): pixiv novels

* fix: radar

* fix: cache rename

* docs: fix tag closing

* fix: sort
2022-08-29 23:40:16 +08:00
Axojhf 51a294f322 fix(route): 贴吧帖子动态功能出错 (#10605)
* 修复选择器问题和部分楼层,日期获取问题

* 修复某些特殊情况

* refactor: migrate to v2

* fix: use art-template for rendering
2022-08-25 21:39:01 +08:00
Ethan Shen 2f77dafb04 feat(route): add 白鲸出海资讯 (#10367)
* feat(route): add 白鲸出海资讯

* fix: use https
2022-08-03 21:34:30 +08:00
Rongrong df5d3fc918 fix(route)(twitter): quote ignored in web API (#10361)
* fix(route)(twitter): quote ignored in web API

* refactor: migrate to v2

Signed-off-by: Rongrong <i@rong.moe>
2022-08-01 20:25:32 +08:00
syrinka 4be123c139 feat(route): NGA帖子只看作者 (#10239)
* feat(route): NGA帖子只看作者

* fix code style

* fix

* remove old router

* correct regex in getLastPageId

* fix

* change title

* refactor: parseDate utils

* fix: old radar rules
2022-07-18 21:29:35 +08:00
Ethan Shen d874a000b2 fix(route): 香港01获取全文 (#10192) 2022-07-12 19:25:32 +08:00
Ethan Shen 4b77c3d99b feat(route): add 笔趣阁 (#10147)
* feat(route): add 笔趣阁

* fix: radar

* fix typo
2022-07-06 21:44:39 +08:00
Tony fc648b5471 feat(route): acfun article (#10110) 2022-07-04 22:10:54 +08:00