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
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
wukko
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
wukko
f70f88bc4c
api/core: customizable session rate limit params
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
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
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
lostdusty
0a7cf7580c
api/core: remove non-printable unicode character in boot message ( #1182 )
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
2025-03-21 22:43:53 +06:00
wukko
1be9a86745
api/tests/xiaohongshu: update the video link & allow to fail
...
all links expire apparently
2025-03-21 22:16:49 +06:00
wukko
c7c20c2157
api/tests/xiaohongshu: update the live photo picker link
2025-03-21 21:52:21 +06: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
wukko
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
wukko
d1b5983e49
api/youtube: disable HLS if a session server is used
2025-03-19 20:34:56 +06:00
wukko
4e6d1c4051
api/tests/youtube: allow HLS tests to fail
2025-03-19 20:32:44 +06:00
wukko
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
wukko
d2d098dbfb
api/youtube: use custom innertube client env & decipher for more clients
2025-03-14 08:54:42 +06:00
wukko
e10fad3d4e
api/config: add CUSTOM_INNERTUBE_CLIENT
env
2025-03-14 08:53:26 +06:00
wukko
2ebe2899be
api/youtube: return an appropriate error if a video is locked behind DRM
2025-03-13 13:23:03 +06:00
hyperdefined
d00d94f3dc
api/pinterest: fix video parsing ( #1153 )
...
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
fixes #1148
2025-03-12 12:35:27 +01:00
wukko
39b6bb2593
api/twitter: change const to let for media
2025-03-11 14:01:34 +06:00
wukko
9579c3dd08
api/twitter: fix return in extractGraphqlMedia
2025-03-11 13:59:59 +06:00
wukko
69421a11ad
api/twitter: refactor, move graphql media extraction to a function
2025-03-11 13:58:24 +06:00
wukko
30460586c4
api/tests/twitter: add a gif test
2025-03-11 12:34:07 +06:00
wukko
75b498ed77
api/twitter: add fallback to syndication api
...
it's back yet again, now for good, i suppose
2025-03-11 12:34:04 +06:00
wukko
69dd37c5c3
api/twitter: handle 403 with no cookie in requestTweet()
2025-03-11 10:25:49 +06:00
wukko
9639c599f0
api/twitter: handle empty body properly
2025-03-11 10:00:24 +06:00
jj
97f71df962
api/tests: replace broken facebook video link
2025-03-06 17:23:36 +00:00
jj
068ae2f2e7
api/internal: also transplant youtube HEAD requests
2025-03-06 17:16:46 +00:00
jj
dba405a6b4
api/facebook: add dispatcher support ( #1115 )
2025-02-18 17:44:25 +06:00
jj
a52aee2bb3
ci: use TEST_IGNORE_SERVICES variable for ignoring services
2025-02-18 09:12:55 +00:00
wukko
b5ba86dd75
api/youtube: return a proper error if the video is "inappropriate"
2025-02-13 17:09:03 +06:00
wukko
4dc7d28696
api/instagram: fall back to photo in extractOldPost if video has no url
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
2025-02-11 15:42:16 +06:00
jj
d8eda230e8
api/test: fix more twitter tests
2025-02-10 22:10:35 +00:00
jj
92061f2e82
api/run-test: print error code for unexpected errors
2025-02-10 22:06:30 +00:00
jj
fcb5023c23
api/test: always randomize ciphers and override envs
2025-02-10 22:04:57 +00:00
jj
d79950b15f
api/test: clear a bunch of canFails
2025-02-10 22:03:10 +00:00
jj
0426621cf5
api/test: fix twitter bookmarked photo link
2025-02-10 21:59:11 +00:00
jj
a06bad161a
api/test: add env for configuring ignored tests
2025-02-10 21:55:11 +00:00
jj
8f57881a68
api/test: use proxy from external proxy env if available
2025-02-10 21:48:30 +00:00
Satya Ananda
d6b0fbc8ec
api/url: extract loom video id from longer links ( #832 )
...
Co-authored-by: jj <log@riseup.net>
2025-02-11 14:52:20 +06:00
zjy4fun
ca0bc9f395
api/ok: fix author not being handled properly ( #1009 )
2025-02-11 14:42:07 +06:00
wukko
de69989bbe
api/service-config/instagram: add support for more share links
2025-02-10 11:53:37 +06:00
wukko
09706160a9
api/snapchat: allow profile params to be missing
...
fixes broken story extraction
2025-02-10 00:33:23 +06:00
wukko
a0f227d68b
api/reddit: add support for mobile links & bunch of other links ( #1098 )
...
* api/reddit: extract params from a mobile share link
* api/reddit: add support for a bunch of links & update the api endpoint
also fixed "undefined" in a filename when downloading a user post
* api/service-patterns: fix reddit id pattern
2025-02-10 00:17:48 +06:00