Commit Graph

487 Commits

Author SHA1 Message Date
cd466a418a api/tests/bsky: fix expected photo test status 2025-01-20 19:24:12 +06:00
ad6f29a3c8 api/tests: add xiaohongshu tests 2025-01-20 19:21:44 +06:00
ed8f4353ea api/processing: add support for xiaohongshu 2025-01-20 19:10:02 +06:00
63b2681017 api/match-action: always proxy photos 2025-01-20 19:04:31 +06:00
9bdcb9d821 api/utils: update getRedirectingURL to accept more statuses & dispatcher 2025-01-20 18:51:37 +06:00
jj
ec0d773792 api/youtube: use Math.min instead of ternary operator 2025-01-20 12:38:12 +00:00
jj
0378a1ae15 api/youtube: fix error when downloading stuff from WEB 2025-01-20 12:37:36 +00:00
ef687750b4 api/tiktok: update domain because dns records for main one are gone
closes #1057
2025-01-18 17:02:24 +06:00
jj
2b95af1b51 merge: fix for tiktok audio download from picker 2025-01-12 17:14:12 +00:00
jj
ce7d553beb api/match-action: pass audio bitrate when creating tiktok stream
fixes #996
2025-01-12 16:43:55 +00:00
a6069f406f api & web: merge base queue ui & api updates 2025-01-08 17:20:00 +06:00
50db4d342a api & web: roll back the default hls change due to doubled CPU usage 2025-01-08 11:22:05 +06:00
7db31851d0 api/package: bump version to 10.5.3 2025-01-08 10:58:49 +06:00
ec019a1b50 api/schema: enable youtubeHLS by default 2025-01-08 10:54:07 +06:00
jj
0f65165671 api/package: bump version to 10.5.2 2024-12-27 17:17:08 +00:00
jj
a14e51d8bd api: uninstall esbuild
also not used for a while anymore
2024-12-27 15:18:57 +00:00
jj
ac3716ae4a api: uninstall node-cache package
not used for a while anymore
2024-12-27 15:16:49 +00:00
jj
45e7b69937 api/tunnel: add Content-Disposition to exposed headers 2024-12-25 20:05:18 +00:00
1dc3532c5d api/package: bump version to 10.5.1 2024-12-23 23:34:14 +06:00
4d634603e2 api/youtube: fix variable shadowing
oops
2024-12-23 23:34:05 +06:00
7f7281d794 api/package: bump version to 10.5 2024-12-23 23:21:44 +06:00
c6d0e0bdd5 api/youtube: use poToken, visitorData, and web client with cookies
and also decipher media whenever needed, but only if cookies are used
2024-12-23 22:58:16 +06:00
jj
9da3ba60a9 api/youtube: add support for cookies 2024-12-23 11:11:48 +00:00
jj
537d1e8b61 api: bump version to 10.4.7 2024-12-22 14:10:31 +00:00
jj
1ed7e74773 api/match-action: pass isHLS when muting audio
fixes a bug where HLS status would be ignored if a muted video
was downloaded with HLS enabled
2024-12-22 14:09:16 +00:00
jj
52b7f9523f api/stream: remove content-length estimation from proxy() 2024-12-20 16:35:40 +00:00
jj
78d0670f50 api/stream: stfu deepsource 2024-12-17 12:20:17 +00:00
jj
06c348126e api/stream: remove random undici import
wtf
2024-12-17 12:16:04 +00:00
jj
fec07d0e10 api: add cors headers for tunnels 2024-12-16 17:45:02 +00:00
jj
f5b47a2b7e api/tunnel: adjust estimate multiplier to 1.1 2024-12-16 17:42:39 +00:00
jj
6e6a792984 api/bilibili: mark tunnel as isHLS where appropriate 2024-12-16 17:41:38 +00:00
jj
05e0f031ed api/stream: add Estimated-Content-Length header to tunnels
present where Content-Length cannot be accurately calculated,
pure proxy streams do not have this header and instead have
the accurate Content-Length one.
2024-12-16 17:07:30 +00:00
jj
11388cb418 api/stream: await all call types 2024-12-16 16:21:38 +00:00
jj
bf4675a5e3 api/stream: move bsky override into isHlsResponse 2024-12-16 11:29:13 +00:00
jj
bc597c817f api: move itunnel handlers to separate file 2024-12-16 10:38:31 +00:00
jj
f06aa65801 api: always create separate server for itunnels 2024-12-16 10:19:15 +00:00
jj
e7c2872e40 api/stream: rename getInternalStream to getInternalTunnel 2024-12-16 10:16:48 +00:00
2e4b76de6e api/package: bump version to 10.4.6 2024-12-16 00:04:58 +06:00
jj
459b2c8283 api/internal-hls: don't remake chunk istreams if already wrapped 2024-12-15 17:59:47 +00:00
86a67dee83 api/package: bump version to 10.4.5 2024-12-13 16:03:32 +06:00
3dafdd825a api/types/proxy: use default dispatcher instead of a global one
this function never gets anything but internal streams, so global proxy (`API_EXTERNAL_PROXY`) is only causing issues here. this commit fixes an issue of cobalt attempting to proxy internal streams, and failing spectacularly.
2024-12-13 16:01:16 +06:00
5973d70053 api/package: bump version to 10.4.4 & update youtube.js 2024-12-12 23:03:00 +06:00
112866096c api/url: return a diff error when youtube is disabled on main instance 2024-12-12 23:00:49 +06:00
e041e376c7 api & web: bump dependencies 2024-12-10 19:55:43 +06:00
4b8b0a0e9e api/youtube: don't retrieve the player as cobalt doesn't use it
we don't decipher anything lol
2024-12-10 17:30:32 +06:00
e1b84e7472 api/package: bump version to 10.4.3 2024-12-05 00:27:53 +06:00
jj
6f0a8196ff api/istream: remove icy-metadata header if sent by client 2024-12-04 18:25:25 +00:00
jj
6c39edbc10 api/stream: use dispatcher if passed to istream 2024-12-04 18:17:13 +00:00
6ca377ded6 api/tiktok: catch unavailable post error 2024-12-04 12:28:05 +06:00
0e5914f66c api/package: bump version 10.4.2 2024-11-28 17:53:35 +06:00