Commit Graph

270 Commits

Author SHA1 Message Date
wukko
ab526c234e api/loom: add transcription subtitles
since there's no language selection (at all), we just add the only transcription if a user wants subtitles
2025-06-20 18:59:35 +06:00
wukko
a44bea6b50 api/vimeo: add subtitle parsing from the mobile api 2025-06-20 18:21:00 +06:00
wukko
337edfc984 api/request/local-processing: return subtitles boolean 2025-06-20 17:38:49 +06:00
wukko
7ce9d6882b api/youtube: don't use session if user wants subtitles
cuz they're not currently available anywhere but HLS
2025-06-20 17:27:49 +06:00
wukko
33c801f66b api/youtube: add support for youtubeVideoContainer 2025-06-20 14:35:43 +06:00
wukko
eb249a3eed api/match: ignore subtitleLang if it's "none" 2025-06-20 14:35:14 +06:00
wukko
2396462c5c api/schema: add youtubeVideoContainer 2025-06-20 14:23:16 +06:00
wukko
672b3dcf46 api/match-action: convert ISO 639-1 language codes to ISO 639-2 2025-06-19 17:46:15 +06:00
wukko
259a0758f1 api: initial subtitles functionality with youtube support
this took way more effort than i expected it to do, mostly because of youtube locking everything down to shit

local processing doesn't function with subtitles yet, wasm needs to be updated
2025-06-18 20:24:13 +06:00
wukko
967552b26b api/schema: add subtitleLang 2025-06-18 18:37:24 +06:00
wukko
af99e7218c api: disable youtube HLS by default & add env to enable it 2025-06-17 13:21:16 +06:00
wukko
4b6447cba6 api/youtube: use the original track instead of default
closes #1329

default ≠ original, apparently. not sure why youtube thought it's a good idea to force ai generated dubs as default
2025-06-08 19:30:43 +06:00
jj
adc5b89fc2 api/soundcloud: ignore encrypted protocols, match against prefix 2025-06-08 13:17:14 +00:00
jj
2154f464d7 api/soundcloud: prefer progressive format over hls 2025-06-08 12:44:34 +00:00
hyperdefined
495729e174 api/pinterest: return fetch.empty if a link is invalid (#1299) 2025-06-08 18:11:05 +06:00
nexpid
170cf293bf api/soundcloud: add more metadata fields (#1313) 2025-06-08 18:07:38 +06:00
wukko
d6095db619 api/service-config/youtube: add /v/:id link pattern
closes #1327
2025-06-07 13:12:04 +06:00
wukko
10e6b4ec71 api/service-alias: add an alias for twitch
because only clips are supported for now. vods may be supported after we implement HLS local processing
2025-06-07 11:51:44 +06:00
wukko
5cd5013de0 api/service-config/vimeo: add /groups/ link pattern
closes #1324
2025-06-07 11:49:40 +06:00
jj
ed18008493 api/soundcloud: return isHLS flag when appropriate 2025-05-29 17:08:22 +00:00
jj
ff7eb2639d api/loom: add support for non-transcoded links, add more tests 2025-05-29 15:29:53 +00:00
wukko
3c41585158 api/schema: add old variables from cobalt 10 for backwards compatibility 2025-05-29 17:55:52 +06:00
wukko
0b36aa09a7 api/match: limit the duration limit number to 2 decimal places 2025-05-27 17:10:41 +06:00
jj
2eadc3fbd8 api/create-filename: relax sanitizeString and use fullwidth replacements 2025-05-23 07:44:05 +00:00
wukko
f36c749692 api/twitter: add support for saving media from ad cards 2025-05-23 13:06:51 +06:00
wukko
4d582798bf api/match: force local processing when configured to do so in env 2025-05-06 16:16:52 +06:00
wukko
c5acb45557 api/core: mark request as session when bearer token is used
and pass it to match() for future consumption
2025-05-06 16:16:29 +06:00
wukko
a95f87ebfb api & web: make "basic" the default filename style 2025-04-30 21:33:36 +06:00
wukko
9a3d35185b merge: soundcloud fix from main 2025-04-30 13:11:02 +06:00
wukko
00b217796f api/soundcloud: fix short link url & refactor 2025-04-29 22:55:52 +06:00
wukko
4202c954d1 merge: api 10.9.3 from main 2025-04-24 16:27:17 +06:00
wukko
d0deec546b api/service-config: add new snapchat link pattern 2025-04-24 15:44:52 +06:00
wukko
7ff6d0036b api/snapchat: prevent errors if params are undefined 2025-04-24 15:44:34 +06:00
wukko
1335313e39 api/service-patterns: increase xiaohongshu shareId max length 2025-04-24 15:30:52 +06:00
wukko
c1b592430a merge: api updates from main 2025-04-23 21:10:52 +06:00
jj
6f6f885723 api/youtube: update Session arguments to match new constructor 2025-04-23 14:02:27 +00:00
wukko
335cd51eb5 api: add an option to allow better audio from youtube
& an env variable to disable it if needed
2025-04-20 20:45:07 +06:00
wukko
06bc51db54 merge: 10.9 from main 2025-04-02 21:48:58 +06:00
jj
07f81c5d1d api/reddit: clean up duplicated headers 2025-04-02 12:35:45 +00:00
Felix Vuong 🍂
a6240d0192 api/url: replace user-agent argument with headers in redirect helpers 2025-04-02 11:44:13 +00:00
Felix Vuong 🍂
b1bde25dee api/reddit: add support for short links 2025-04-02 11:42:59 +00:00
jj
1f768df4ec api: bind session tokens to ip hash 2025-03-30 17:08:34 +00:00
jj
39274d88f6 api/youtube-session: bypass proxy for requests
usually the session server is hosted locally, which
means the proxy tries to access the wrong url
2025-03-29 10:28:11 +00:00
wukko
0b29121c53 merge: changes from main 2025-03-27 20:02:46 +06:00
wukko
5036c492b8 api/service-config/tiktok: remove trailing forward slash from a pattern 2025-03-25 18:32:05 +06:00
wukko
ab13f78326 api/tiktok: normalize short link URL & catch empty patternMatch 2025-03-25 18:31:12 +06:00
Felix Vuong 🍂
2f38260e23 api/service-config: add tiktok lite url pattern 2025-03-25 18:11:49 +07:00
wukko
b93099620f api/match/youtube: use 1080 dummy quality for audio-only downloads 2025-03-21 21:30:47 +06:00
wukko
cf17f53405 api/youtube: use the iOS client for <=1080p vp9 videos 2025-03-21 21:29:25 +06:00
wukko
24ce19d09f api/youtube: use both ios & web_embedded client depending on request
this ensures better reliability & reduces rate limiting of either clients
2025-03-20 17:57:02 +06:00