Commit Graph

593 Commits

Author SHA1 Message Date
jj
3c5f5b90b2 api/env: refactor subscribe event logic 2025-07-19 15:47:37 +00:00
jj
09c42d9be0 api/core: update dispatcher when proxy is changed 2025-07-19 15:24:13 +00:00
jj
5908e9da15 api/env: add subscribe() for dynamic reloads 2025-07-19 15:21:57 +00:00
wukko
e83baa9138 api/core: use EnvHttpProxyAgent for proxy requests 2025-07-19 20:43:29 +06:00
wukko
95efd71eac api: update youtubei.js to 15.0.0, use main package again
undici update was merged upstream :D
2025-07-19 18:47:07 +06:00
KwiatekMiki
3f785e7cbe api: support new xiaohongshu links, add fallbacks to getRedirectingURL
closes #1394
Co-authored-by: wukko <me@wukko.me>
2025-07-18 20:43:58 +06:00
wukko
b9042a94e9 api/tests/soundcloud: allow go+ test to fail 2025-07-18 20:31:44 +06:00
wukko
71205791dd api/package: update @imput/youtubei.js 2025-07-18 15:08:15 +06:00
wukko
63ee694d36 api/package: bump version to 11.3.1 2025-07-12 23:07:18 +06:00
jj
60f02b18e4 vimeo: use android client for session 2025-07-11 18:35:02 +00:00
wukko
2425f18908 api/package: bump version to 11.3 2025-07-10 19:06:52 +06:00
wukko
02386544f3 api/stream/shared: add tiktok headers
referer is now required to access video links
2025-07-10 18:19:18 +06:00
wukko
61de303dc4 api: add support for newgrounds
closes #620, replaces #1368
Co-authored-by: hyperdefined <contact@hyper.lol>
2025-07-10 00:56:35 +06:00
wukko
1a499238aa api/package: bump version to 11.2.3 2025-07-09 16:13:53 +06:00
wukko
58ea4aed01 api/soundcloud: check if a cover url returns 200
some songs don't have a cover but artwork_url is still defined, even though the response is always 404
2025-07-09 15:56:22 +06:00
wukko
51a9680b39 api/match: fix localDisabled
accidentally left the old naming of the option here, typescript would've prevented this
2025-07-08 20:58:19 +06:00
wukko
40da8a46d6 api/config: update chromium version in generic user agent 2025-07-07 20:09:02 +06:00
wukko
2e86a6ca70 api/bilibili: don't return isHLS
videos are no longer HLS i guess
2025-07-07 18:08:26 +06:00
wukko
2ac0436f71 api/tiktok: return empty error if there's nothing to download
sometimes posts are broken and don't have any valid media
2025-07-06 00:04:40 +06:00
wukko
14b9a590d9 api/package: bump version to 11.2.2 2025-07-04 15:58:57 +06:00
wukko
b4290ecf30 api/vimeo: use bearer, update headers, better error handling 2025-07-04 15:55:40 +06:00
wukko
926e9b7231 api/package: bump version to 11.2.1 2025-07-04 13:57:10 +06:00
wukko
f3992fbe33 api/language-codes: prevent errors if code is undefined 2025-07-01 16:32:39 +06:00
wukko
810e0a865c api/package: replace youtubei.js with a fork, update undici 2025-07-01 16:15:12 +06:00
wukko
9b3ebe90c5 api/language-codes: remove region part of the language code
and convert language codes if they're not 3 characters long
2025-07-01 01:06:31 +06:00
wukko
8da71e413e api/package: bump version to 11.2 2025-06-28 20:47:08 +06:00
wukko
d70180b23c api/core: merge isApiKey and isSession into authType
cuz they can't be true at the same time
2025-06-28 17:05:18 +06:00
wukko
c16444126e api/env: backwards compatibility with SESSION_RATELIMIT 2025-06-28 16:37:54 +06:00
wukko
7298082bd5 api: refactor two static arrays to set 2025-06-28 16:31:39 +06:00
wukko
9d818300f4 api/twitter: add subtitle extraction
closes #1219
2025-06-28 16:19:41 +06:00
wukko
51c5d055ec api/service-patterns/tiktok: allow longer shortLink
tiktok is a/b testing a new shortLink format that's ±19 characters long but behaves the same way as old format
2025-06-28 14:45:04 +06:00
wukko
900c6f27ca api/tests/vimeo: allow mature video tests to fail 2025-06-27 21:47:21 +06:00
wukko
8feaf5c636 api/api-keys: replace .find() with .some() in allowedServices
& also a little refactor
2025-06-26 22:32:39 +06:00
wukko
3243564f77 api/api-keys: add allowedServices to limit or extend access
it's useful for limiting access to services per key, or for overriding default list of enabled services with "all"
2025-06-26 22:20:09 +06:00
wukko
d69100c68d api/tiktok: validate that redirected link is still tiktok 2025-06-26 21:32:31 +06:00
wukko
84aa80e2d3 api/match-action: don't add cover if metadata is disabled 2025-06-26 17:45:01 +06:00
wukko
164ea8aeb9 api: return covers from soundcloud and youtube
& refactor createProxyTunnels() in stream/manage a little
2025-06-26 17:36:26 +06:00
wukko
f4637b746c api/rutube: add subtitles 2025-06-25 20:12:30 +06:00
wukko
3dae5b2eb0 api/ffmpeg: move stream type + url count check to remux()
& fix it cuz i broke it in last commit
2025-06-25 19:57:23 +06:00
wukko
52695cbd0f api/service-config: replace static arrays with sets 2025-06-25 19:33:16 +06:00
wukko
fcdf5da73e api/ffmpeg: refactor even more 2025-06-25 19:32:36 +06:00
wukko
d3793c7a54 api/ffmpeg: map video and audio in remux() with one main input
cuz otherwise if a video has subtitles, then only subtitles get mapped to the output file
2025-06-24 20:46:14 +06:00
wukko
4f4478a21d api/ffmpeg: fix audio codec args in remux() 2025-06-24 20:24:53 +06:00
wukko
14657e51d3 api/stream: split types.js into proxy.js and ffmpeg.js 2025-06-24 20:09:41 +06:00
wukko
aa376d76f6 api/stream/types: huge refactor & simplification of code
- created render() which handles ffmpeg & piping stuff
- merged remux() and merge() into one function
- simplified and cleaned up arguments
- removed headers since they're handled by internal streams now
- removed outdated arguments
2025-06-24 19:55:50 +06:00
wukko
28b85380c9 api/vk: allow auto generated subs & pick explicitly vtt
i couldn't find a single video that had any subtitles other than auto generated ones, so i think this is better than nothing at all
2025-06-24 17:56:04 +06:00
wukko
75691d4bac api/tests/facebook: replace a dead link 2025-06-24 17:28:05 +06:00
wukko
ff06a10b5c api/processing/url: improve vk url parsing 2025-06-24 17:21:32 +06:00
wukko
997b06ed0e api/vk: add support for subtitles 2025-06-24 17:06:19 +06:00
wukko
44f4ea32c6 api/stream/internal: stream vk videos in chunks 2025-06-24 17:04:43 +06:00