DIYgod
a712fd50a6
fix: twitter login error logs
2024-01-31 18:29:50 +08:00
DIYgod
631934bffe
feat: twitter login error logs
2024-01-31 18:07:26 +08:00
DIYgod
da2754e234
feat: twitter login cache and logs
2024-01-31 17:37:53 +08:00
SettingDust
4627eea2af
fix(modrinth): match index of projects ( #14352 )
2024-01-31 16:21:31 +08:00
SettingDust
655c59d89a
fix(modrinth): correct the radar rules for working with ( #14351 )
2024-01-31 13:25:07 +08:00
e390030ca1
feat: Add Thai Parliament's Public hearing (according to Thai constitution section 77) ( #14260 )
...
* feat: Add Thai DOL website
* feat: Add timezone, Radar for Thai DOL e-LandsAnnoucements
* Update lib/v2/dol/maintainer.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
* Update website/docs/routes/government.mdx
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
* Update lib/v2/dol/radar.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
* Feat: Init Thai Parliament section77
* Switch got to Puppetteer, add radar, doc
* Fix DeepScan: Expression 'parseInt(maxPageElem.attr('id'))' always passes null check. Consider using 'isNaN()' instead if invalid number checking was intended.
* Change NaN handling to satisfy DeepScan
* Fix ESLint issues
* Fix: Reject PuppeTeer, embrace got with ToughJar. Thk @TonyRL
* Correct header style
* perf: Remove fetching pagination. Only first page.
* chore: Move original text out of header
* Update lib/v2/parliament/radar.js
---------
Co-authored-by: rrachasak <dev@rachasak.org >
2024-01-31 00:44:05 +08:00
SettingDust
93e93a3756
feat(modrinth): add project versions route ( #14340 )
...
* feat(modrinth): add project versions route
* docs(modrinth): add project versions
* fix(modrinth): query string wrong
* feat(modrinth): add radar rule
* fix(modrinth): using `searchParams` from `got` & single line type annotation
2024-01-30 13:28:19 +08:00
Ethan Shen
38fbcf09f1
feat(route): add 中国汽车工业协会统计信息网 ( #14339 )
2024-01-30 12:28:24 +08:00
DIYgod
5c8e5421e2
feat: add TWITTER_AUTHENTICATION_SECRET
2024-01-30 00:37:12 +08:00
DIYgod
3ae25ddb7a
feat: support twitter username and password login
2024-01-29 20:06:44 +08:00
Tony
7412e9ef5d
fix(route): guanhai ( #14337 )
2024-01-29 04:28:11 +08:00
KTachibanaM
00fecf46fc
fix javlibrary genre route because some spans may not have class attr in individual pages ( #14334 )
2024-01-29 03:28:33 +08:00
Ethan Shen
0f6240e2d9
fix(route): Firefox release notes ( #14331 )
2024-01-28 00:23:48 +08:00
Rongrong
fc42bebb47
fix(route/twitter): reply URL; threads when excludeReplies=1 ( #14330 )
...
Without `legacy.id_str`, reply URLs would be constructed with conversion
IDs, resulting in:
- wrong URLs: pointing to the first tweet in the conversion (thread)
- multiple items with the same guid: each tweet in a conversion (thread)
had the same URL and thus guid
The bug was caused by the widely used temporary fix (legacy.id_str ||
legacy.conversation_id_str) after Twitter had upgraded their API. Thus,
it is quite easy to fix it:
Refill legacy.id_str using the rest_id that resides in the container of
legacy.
With it fixed, take a step further to include threads when
excludeReplies=1 (simulating the behavior of Twitter Web/App).
Signed-off-by: Rongrong <i@rong.moe >
2024-01-28 00:11:32 +08:00
Ethan Shen
dfef12524c
fix(route): Foresight News column ( #14322 )
2024-01-26 03:23:16 +08:00
Tony
d1b3e161dc
fix: use sanitize-html ( #14312 )
...
* fix: use sanitize-html
* test: add brief test
2024-01-24 02:40:11 +08:00
Andvari
716f59e903
fix(route/tencent): Circumvent video type link. ( #14302 )
...
* fix(route/tencent): Circumvent video type link.
* .
2024-01-24 02:35:08 +08:00
Ethan Shen
c903abcdfb
feat(route): add 川流严选 ( #14303 )
...
* feat(route): add 川流严选
* fix: add null check
* fix: add null check
2024-01-23 23:35:10 +08:00
Tony
542d03943a
feat(route): mrm ( #14311 )
...
* feat(route): mrm
* fix: maintainer
2024-01-23 13:39:41 +08:00
Tony
89788a6470
fix(route): huanqiu ( #14304 )
2024-01-23 01:31:53 +08:00
Tony
f965e0b15f
feat(route): keepass ( #14301 )
2024-01-22 14:35:58 +08:00
Tony
b50d1d7725
fix: recover cntheory ( #14300 )
...
* fix: recover cntheory
* fix: replaceAll
2024-01-22 12:52:00 +08:00
Tony
0a9296075e
feat(route): scmp topics ( #14299 )
...
* feat(route): scmp topics
* docs: remove /en from docs url
* fix: router order
* fix: http verb
2024-01-22 05:13:40 +08:00
Tony
6c6ce0ce12
fix: codeql incomplete multi-character sanitization ( #14298 )
2024-01-22 00:32:37 +08:00
Tony
70b4385bf1
feat(route): laimanhua ( #14297 )
2024-01-22 00:03:51 +08:00
Rongrong
4644ce5755
fix(route/twitter): readability and RT link ( #14289 )
...
1. Trim link pointing to the tweet itself (usually appears when the
tweet is truncated).
2. Only insert <hr> when both showTimestampInDescription and readable
are enabled.
3. Make RT links point to the RT itself, instead of the original tweet.
Signed-off-by: Rongrong <i@rong.moe >
2024-01-21 14:14:19 +00:00
Ethan Shen
1e7793e0ef
fix(route): 金色财经 ( #14272 )
...
* fix(route): 金色财经
* style: lint
* docs: move to finance
---------
2024-01-21 15:15:07 +08:00
Rongrong
e8a33d80fa
fix(route/twitter/web-api): excludeReplies=1 ( #14290 )
...
Fixes #14285
The postprocessing that removes replies accidentally removed all tweets
except for the first one after the recent Twitter update.
Signed-off-by: Rongrong <i@rong.moe >
2024-01-21 14:11:01 +08:00
Tony
e399ca73c8
feat(route): bjedu ( #14288 )
2024-01-19 22:31:20 +00:00
Ethan Shen
b387495bec
feat(route): add 中国期货市场监控中心 ( #14287 )
...
* feat(route): add 中国期货市场监控中心
* Update lib/v2/cfmmc/radar.js
---------
2024-01-19 18:35:01 +00:00
Tony
237d442d90
fix(route): tencent gifs ( #14286 )
2024-01-19 23:30:37 +08:00
SunBK201
ed5c6fff48
feat(secrss): full text support ( #14284 )
...
* feat(secrss): full text support
* fix(secrss): pubDate author category
2024-01-19 09:00:33 +00:00
lidashuang
d006267ce3
fix: 修复界面标题重复 ( #14283 )
...
* fix(jiemian): 标题重复
* Update lib/v2/jiemian/lists.js
---------
2024-01-19 15:50:09 +08:00
DIYgod
1574105a92
fix: twitter changed the fields
2024-01-19 11:30:45 +08:00
CaoMeiYouRen
30c453eec2
feat(route): New route: MiYouShe - User Posts; Optimize the routing of MiYouShe | 新增路由:米游社 - 用户帖子;优化米游社路由 ( #14268 )
...
* fix(route): 修复 米游社 公告栏 template 错误
* feat(route): 新增 bing 搜索
* docs: Update other.mdx
* docs: fix docs
* feat(route): 新增 百度搜索
* fix(route): 修复 pubDate 解析错误
* fix(route): 优化 百度搜索的缓存,减轻反爬问题
* feat(route): 新增 360 搜索
* feat(route): 迁移 搜狗特色LOGO 到 v2 规范;添加 搜狗搜索
* fix(route): 百度搜索增加图片
* feat(route): 新增 Google Search
* fix(route): 修复 百度搜索相关问题
* fix(route): 修复 Google 相关问题
* fix(route): 修复 360 搜索
* fix(route): 修复 搜狗搜索
* fix(route): 修复 await 问题
* fix: 移除 google sites
* fix(route): 修复 缓存和过滤逻辑问题
* fix(route): 修复 360 搜索缺少 cookie 的问题
* fix(route): 修复 360 搜索 cookie 的问题
* feat(route): 移除 so.com 路由
* fix: merge conflict
* feat(route): 新增路由:米游社 - 用户帖子;优化米游社路由
* fix(route): 修复 米游社用户帖子路由
* feat(route): 新增 米游社 用户关注路由
* fix(route): 修复 米游社帖子可能缺失封面的 bug;增加 点赞和评论数
* fix(route): 修复 米游社路由的规范和 bug
---------
2024-01-19 03:46:51 +08:00
github-actions[bot]
1ec55d126a
style: auto format
2024-01-18 17:08:39 +00:00
Ethan Shen
b31adca78e
feat(route): add TradingView Pine Script™ Release notes ( #14279 )
2024-01-19 01:06:41 +08:00
Tony
35561ce39c
style(eslint): add default-case: 1
...
`default-case-last`: 2
`unicorn/prefer-spread`: 2->1
`unicorn/prefer-switch`: 2->1
2024-01-18 15:03:52 +00:00
Kun CHEN
cdb6f6f34c
fix(route): broken item URL in Google Scholar Author Citations ( #14277 )
...
* fix broken url in item fields
* add author information in item field
* add query parameter usage
* fine-tune channel title&description
* add maintainer
* shorten the itemUrl definition
---------
2024-01-18 22:09:04 +08:00
github-actions[bot]
89759b0fcb
style: auto format
2024-01-18 13:08:36 +00:00
Rachasak Ragkamnerd and rrachasak
ba3c2925f8
feat: Add Thai Department Of Lands e-LandsAnnouncement website ( #14245 )
...
* feat: Add Thai DOL website
* feat: Add timezone, Radar for Thai DOL e-LandsAnnoucements
* Update lib/v2/dol/maintainer.js
* Update website/docs/routes/government.mdx
* Update lib/v2/dol/radar.js
---------
Co-authored-by: rrachasak <dev@rachasak.org >
2024-01-18 21:06:39 +08:00
github-actions[bot]
52ee219378
style: auto format
2024-01-18 12:45:55 +00: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
xizeyoupan
987d6fe218
fix(route): coolapk publish time ( #14261 )
2024-01-16 13:51:54 +00:00
Tony
39c6720498
feat: recover shuiguopai ( #14248 )
2024-01-16 01:00:19 +08:00
JimenezLi
450bdb3a17
feat(route): zhihu xhu posts ( #14246 )
2024-01-15 23:23:47 +08:00
Tony
50b32696fa
feat(route): recover kuwaitlocal agirls qianp taiwannews jiaoliudao ( #14247 )
...
* fix: recover kuwaitlocal
* fix: recover agirls
* fix: recover qianp
* fix: recover taiwannews
* fix: recover hket
* fix: recover jiaoliudao
* fix: qianp
* fix: deepscan issue
2024-01-15 23:03:49 +08:00
Joshua Peek
ed8e195ba6
feat: support CIDR IP ranges in allowlist ( #14243 )
2024-01-15 12:35:34 +08:00
Tony
6780b96b23
fix(route): hoyolab ( #14242 )
2024-01-15 12:22:54 +08:00
Gerardyang
4ee41944b8
fix: luogu route parse error ( #14170 )
...
* fix route parse error
* use parse-date instead of Date
* optimize decode processes
* fix typo
---------
2024-01-15 03:23:41 +00:00