Commit graph

1078 commits

Author SHA1 Message Date
wukko 7815838751
package: bump version to 7.14.5 2024-06-22 17:03:43 +06:00
wukko a5e00be376
services: add support for m.vk.com links
closes 
2024-06-22 17:02:50 +06:00
jj ef97ff06af
stream: fix some memory leaks in internal stream handling () 2024-06-22 16:57:30 +06:00
dumbmoron 21d5b4b8d4
instagram: use correct id when requesting from mobile API 2024-06-16 10:53:03 +00:00
jj d2e5b6542f
api: randomize cipherlist for making requests to services ()
this makes cobalt less prone to TLS client fingerprinting, as it
avoids having the default node.js TLS fingerprint that is shared by
all node.js applications.
2024-06-15 18:20:33 +02:00
wukko 1d5fa62271
youtube: add ratelimit error, update sign in error 2024-06-08 22:59:30 +06:00
jj 04d66946fc
internal-hls: correctly handle URL concatenation of all types () 2024-06-08 22:34:18 +06:00
wukko f3056c6dc3
servicesConfig: enable reddit back 2024-06-08 18:31:00 +06:00
wukko 77d167ce1e
package-lock: update version 2024-06-08 18:15:31 +06:00
wukko 90e066ac22
package: bump version to 7.14.4 2024-06-08 18:14:10 +06:00
wukko a434de0809
youtube: add support for OAuth2 tokens () 2024-06-08 18:12:27 +06:00
dumbmoron a84d0ddc77
package.json: remove testFilenames script, add youtube token generation 2024-06-08 12:05:18 +00:00
dumbmoron 6c1d8ef6c7
generate-youtube-tokens: add more explanatory text and clean up logging 2024-06-08 11:58:38 +00:00
dumbmoron ebe6668bc0
refactor: move generate-youtube-tokens to util 2024-06-08 11:52:53 +00:00
dumbmoron 9e09bcab6e
refactor: create util directory, move tests to it 2024-06-08 11:52:36 +00:00
dumbmoron d08e2ac04f
generate-youtube-tokens: use throw instead of process.exit
fuck off deepsource
2024-06-08 09:32:23 +00:00
dumbmoron 2387fc2fbb
youtube: update access token on change 2024-06-08 09:30:12 +00:00
dumbmoron 18d4372938
youtube: drop cookie support
it never really worked
2024-06-08 09:26:58 +00:00
dumbmoron 46274c8da0
youtube: add support for using OAuth2 tokens 2024-06-08 09:19:15 +00:00
wukko 7fb2e6d8d9
youtube: proper age & sign in limit errors 2024-06-07 21:46:45 +06:00
wukko f7b36713e0
youtube: convert cookie to string 2024-06-07 19:37:01 +06:00
jj f6632e2d61
youtube: add cookie support () 2024-06-07 15:02:07 +02:00
wukko 268b6a40a3
localization: update user count in donation text 2024-06-07 17:10:33 +06:00
Mikhail Serebryakov 68f311c318
stream: add hls support for internal streams () 2024-06-07 17:08:20 +06:00
wukko 4c8cd9dd30
youtube: change innertube client to ios 2024-06-07 14:52:55 +06:00
dumbmoron 85bed9aa74
stream/internal: use pipe() to handle internal streams 2024-06-06 14:50:21 +00:00
dumbmoron fe7d4974e4
stream: move pipe to shared functions 2024-06-06 14:39:28 +00:00
wukko 7ebd9bc0ff
servicesConfig: temporarily disable reddit support
reddit's media server times out unexpectedly
2024-05-31 20:10:16 +06:00
J4mez 9b4f49fcf6
web: stop password managers from autofilling data into url area ()
fixed dashlane autofill phone in url input
2024-05-31 18:53:25 +06:00
dumbmoron 03fda93f96
tiktok: fix error when user prefers h265 and downloads photo slideshow 2024-05-29 08:49:06 +00:00
dumbmoron b7697268e5
youtube: return different error message if video doesn't exist 2024-05-29 08:28:26 +00:00
jj 44ecfeeea7
youtube: don't block api startup waiting for innertube to activate ()
cobalt api has been getting blocked for several seconds
during startup, and also crashing when unable to connect
to youtube (e.g. when it's blocked); this should fix both
those things
2024-05-29 10:26:17 +02:00
wukko 35ba3dc1a3
package: bump version to 7.14.3 2024-05-29 13:21:06 +06:00
wukko ed607a08bb
readme: add additional info about rutube 2024-05-29 13:15:10 +06:00
wukko e4d42fa86a
processing: add loom support () 2024-05-29 13:12:52 +06:00
wukko 2a2183aa84
rutube: add support for private video links 2024-05-29 13:02:05 +06:00
wukko 490bbf82ec
processing/url: clean up cleanURL query exceptions 2024-05-29 12:57:26 +06:00
wukko 64b5990d81
stream: move hls exceptions to servicesConfig () 2024-05-28 10:32:03 +02:00
dumbmoron 806ad14266
chore: bump version in lockfile 2024-05-28 07:01:49 +00:00
jj 7f333ec681
build: add test to check if lockfile needs an update 2024-05-28 09:00:58 +02:00
dumbmoron 7c39b10435
api/istream: flip priority of header sources
closes 
2024-05-28 06:19:42 +00:00
wukko 669ab65be9
servicesConfig: add player subdomain for vimeo
closes 
2024-05-28 09:45:43 +06:00
wukko e93ad8a9c5
reddit: use correct id in filename & add sub name 2024-05-28 09:00:09 +06:00
jj abd9f2eb87
web/cobalt.js: fix copying text on click
Signed-off-by: jj <log@riseup.net>
2024-05-25 15:12:18 +02:00
wukko 5c11e57e00
package: bump version to 7.14.2 2024-05-23 22:39:22 +06:00
dumbmoron d72be2c95a api: clean up and remove unnecessary res.destroy()s 2024-05-23 22:37:58 +06:00
dumbmoron aba1d80615 stream/shared: use res.end() instead of destroy for closing response 2024-05-23 22:37:58 +06:00
dumbmoron 89d9d555d1 stream/internal: use end() instead of destroy() to close response 2024-05-23 22:37:58 +06:00
jj 72246cbc1f
tiktok: use new cookie for each request ()
* api: allow passing headers from service handler

* tiktok: use new cookie for each request
2024-05-23 22:29:39 +06:00
wukko 930faea09a
twitter: add freebind support 2024-05-23 09:22:33 +06:00