Commit Graph
21 Commits
Author SHA1 Message Date
Unknown c150211749 feat(twitter): add option to number the medias (#19050)
* feat(twitter): add number to the media

* (feat/twitter): add option `mediaNumber` to number the medias in tweets

--------
2025-06-06 01:08:59 +08:00
Tony f19a725157 refactor: fix all no array reduce (#18973)
* refactor: no-array-reduce cleanup

* refactor: keep

* refactor: nhk

* refactor: rattibha

* fix: cctv

* fix: jiemian

* refactor: juejin

* refactor: kpopping

* refactor: yoasobi-music

* refactor: mycard520

* refactor: newrank

* refactor: sse

* refactor: zhihu

* feat!: remove trending

https://github.com/huqi-pr/trending-in-one is archived and no longer being updated.
https://github.com/huqi-pr/trending-in-one/commit/2ef4cd236fcccb908be7907d5ac9aab6f1f4a188

* refactor: sspai

* refactor: sysu

* refactor: nikkei

* refactor: utils

* refactor: mydrivers

* refactor: scmp

* refactor: gov/moa

* refactor: bloomberg

* refactor: manhuagui

* refactor: twitter
2025-04-30 04:16:32 +08:00
Tony 03969f3867 refactor: fix lint issue (#18963)
* fix: unicorn/no-empty-file

* fix: unicorn/prefer-node-protocol

* fix: unicorn/prefer-number-properties

* fix: unicorn/consistent-destructuring

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

* fix: unicorn/new-for-builtins

* fix: set checkNaN to false in unicorn/prefer-number-properties

* fix: unicorn/prefer-string-slice

* fix: update eslint ignore
2025-04-29 03:00:16 +08:00
DIYgod 4fb59dd8b1 feat: twitter not include replies by default 2025-03-18 21:30:02 +08:00
dependabot[bot]andTony 8a0efc0ba2 chore(deps-dev): bump eslint-plugin-unicorn from 56.0.1 to 57.0.0 (#18392)
* chore(deps-dev): bump eslint-plugin-unicorn from 56.0.1 to 57.0.0

Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 56.0.1 to 57.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v56.0.1...v57.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* chore: remove unicorn plugin

* style: fix eslint issues

* style: fix more issues

* chore: flat config unicorn

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2025-02-19 05:10:11 +08:00
pseudoyu 1e336483df feat(route/twitter): add repost url in _extra 2025-01-23 06:24:41 +08:00
Rick Lahaye 6dc521e38c fix(twitter): set title to author (#17673) 2024-11-22 23:50: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
Thomas a71410fdd7 feat(twitter): only display tweets that contains a media (#17310)
* feat: only display tweets that contains a media

* Use lambda to simplify filtering

* wording: media is uncountable

---------
2024-10-27 02:56:48 +08:00
DIYgod edfaed1b7d feat: add width and height to img 2024-08-07 23:07:12 +08:00
DIYgod 5513d4a0fd feat: add author for pixiv ranking, pixiv user, twitter keyword, weibo keyword, youtube custom, youtube user routes 2024-06-06 01:22:28 +08:00
CaoMeiYouRen 363bcf329d fix(route): 修复 twitter 路由会匹配到 # 开头的颜色字符的问题 (#15740) 2024-05-28 12:18:20 +08:00
CaoMeiYouRen 2e839e61b9 feat(route): twitter 路由新增:将话题提取为 category (#15735) 2024-05-28 02:21:12 +08:00
DIYgod 1b78fcedd1 fix: recover twitter guid 2024-05-19 00:14:54 +08:00
DIYgod 78f3cb3f75 feat: twitter.com -> x.com 2024-05-18 23:57:25 +08:00
DIYgod 4a7c00f274 feat(twitter): api structure and web user 2024-03-19 20:57:19 +08:00
DIYgod 44c9853541 feat: replace require with import 7/n 2024-03-07 01:17:21 +08:00
DIYgod 935649be9f feat: replace require with import 2/n 2024-03-06 23:56:33 +08:00
DIYgod 156b58d780 feat: replace require with import 1/n 2024-03-06 23:39:15 +08:00
Yufan You 130b11224e chore: remove @ts-nocheck (#14669) 2024-03-05 21:06:03 +08:00
DIYgod 8065ededf5 feat: rename routes .js to .ts 2024-03-04 00:35:37 +08:00