Commit Graph

431 Commits

Author SHA1 Message Date
jj
2eadc3fbd8 api/create-filename: relax sanitizeString and use fullwidth replacements 2025-05-23 07:44:05 +00:00
f36c749692 api/twitter: add support for saving media from ad cards 2025-05-23 13:06:51 +06:00
0ae0bbfa1f api/core: use new tunnel rate limit env 2025-05-14 19:07:11 +06:00
a66e789317 api/config: add tunnel rate limit env 2025-05-14 19:06:59 +06:00
06b865e965 api/config: limit acceptable FORCE_LOCAL_PROCESSING values
and throw an error if the value is wrong
2025-05-06 17:33:06 +06:00
4d582798bf api/match: force local processing when configured to do so in env 2025-05-06 16:16:52 +06:00
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
d0539118ce api/config: add FORCE_LOCAL_PROCESSING 2025-05-06 16:12:51 +06:00
a95f87ebfb api & web: make "basic" the default filename style 2025-04-30 21:33:36 +06:00
9a3d35185b merge: soundcloud fix from main 2025-04-30 13:11:02 +06:00
00b217796f api/soundcloud: fix short link url & refactor 2025-04-29 22:55:52 +06:00
4202c954d1 merge: api 10.9.3 from main 2025-04-24 16:27:17 +06:00
d0deec546b api/service-config: add new snapchat link pattern 2025-04-24 15:44:52 +06:00
7ff6d0036b api/snapchat: prevent errors if params are undefined 2025-04-24 15:44:34 +06:00
1335313e39 api/service-patterns: increase xiaohongshu shareId max length 2025-04-24 15:30:52 +06:00
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
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
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
jj
f5df78ffec api/utils: retry getting redirecting url with fetch() if request() fails 2025-04-02 12:29:18 +00:00
a6240d0192 api/url: replace user-agent argument with headers in redirect helpers 2025-04-02 11:44:13 +00:00
b1bde25dee api/reddit: add support for short links 2025-04-02 11:42:59 +00:00
1477dcd4e7 api/tests/instagram: allow the private post test to fail
sometimes the visibility status isn't returned
2025-04-02 17:35:01 +06:00
f70f88bc4c api/core: customizable session rate limit params 2025-03-31 22:32:21 +06: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
0b29121c53 merge: changes from main 2025-03-27 20:02:46 +06:00
5036c492b8 api/service-config/tiktok: remove trailing forward slash from a pattern 2025-03-25 18:32:05 +06:00
ab13f78326 api/tiktok: normalize short link URL & catch empty patternMatch 2025-03-25 18:31:12 +06:00
2f38260e23 api/service-config: add tiktok lite url pattern 2025-03-25 18:11:49 +07:00
0a7cf7580c api/core: remove non-printable unicode character in boot message (#1182) 2025-03-21 22:43:53 +06:00
1be9a86745 api/tests/xiaohongshu: update the video link & allow to fail
all links expire apparently
2025-03-21 22:16:49 +06:00
c7c20c2157 api/tests/xiaohongshu: update the live photo picker link 2025-03-21 21:52:21 +06:00
b93099620f api/match/youtube: use 1080 dummy quality for audio-only downloads 2025-03-21 21:30:47 +06:00
cf17f53405 api/youtube: use the iOS client for <=1080p vp9 videos 2025-03-21 21:29:25 +06:00
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
073b169a93 api: remove code & docs related to youtube oauth
it hasn't been functional for a while, unfortunately
2025-03-19 20:43:31 +06:00
d1b5983e49 api/youtube: disable HLS if a session server is used 2025-03-19 20:34:56 +06:00
4e6d1c4051 api/tests/youtube: allow HLS tests to fail 2025-03-19 20:32:44 +06:00
b6cd0ad727 api: automatically pull youtube session tokens from a session server
if provided, cobalt will pull poToken & visitor_data from an instance of invidious' youtube-trusted-session-generator or its counterpart
2025-03-19 19:54:20 +06:00
6a13ca347d api/request/local-processing: don't return an empty audio object
& also throw errors whenever a response is invalid
2025-03-19 13:38:55 +06:00
e497ea51f1 api/request: reformat the local processing response, add output mimetype 2025-03-19 12:24:26 +06:00
97fee5e6d4 merge: updates from main 2025-03-15 21:25:23 +06:00
d2d098dbfb api/youtube: use custom innertube client env & decipher for more clients 2025-03-14 08:54:42 +06:00
e10fad3d4e api/config: add CUSTOM_INNERTUBE_CLIENT env 2025-03-14 08:53:26 +06:00
2197d9411e merge: updates from main 2025-03-13 14:56:49 +06:00
2ebe2899be api/youtube: return an appropriate error if a video is locked behind DRM 2025-03-13 13:23:03 +06:00
d00d94f3dc api/pinterest: fix video parsing (#1153)
fixes #1148
2025-03-12 12:35:27 +01:00
39b6bb2593 api/twitter: change const to let for media 2025-03-11 14:01:34 +06:00