Commit graph

2074 commits

Author SHA1 Message Date
wukko
b441b494ef fix vk downloads 2023-08-20 22:12:09 +06:00
wukko
68b9a5321d
replace got with undici
merge pull request #182 from dumbmoron/undici
2023-08-20 21:25:13 +06:00
dumbmoron
a09b062f9d
Merge branch 'current' into undici 2023-08-20 17:03:22 +02:00
wukko
a6134c58d2 remove unused stuff 2023-08-20 21:02:20 +06:00
dumbmoron
d54655c6b0 passthrough content-type; content-length 2023-08-20 15:00:03 +00:00
dumbmoron
814bfa404a replace got with undici
might as well since it already comes with youtubei.js
2023-08-20 14:44:34 +00:00
wukko
244357820d update readme and services config 2023-08-20 19:59:34 +06:00
wukko
6be2c7344e
do not attempt to update nonexistent cookie
merge pull request #181 from dumbmoron/fix-cookie-update
2023-08-20 19:38:11 +06:00
wukko
9cddda442e
instagram: add downloading of single image
merge pull request #180 from dumbmoron/instagram-single-image
2023-08-20 19:37:50 +06:00
wukko
cbb519d73e fix + test 2023-08-20 19:36:56 +06:00
dumbmoron
411938b460 do not attempt to update nonexistent cookie 2023-08-20 13:27:49 +00:00
dumbmoron
1f6c7c8ead instagram: add downloading of single image 2023-08-20 13:26:35 +00:00
wukko
dfdda06099 added support for instagram images
also improved various picker
2023-08-20 19:14:31 +06:00
wukko
a15558bc3f oh 2023-08-20 18:16:00 +06:00
wukko
2929b9535f added file metadata to videos & fixed youtube dubs 2023-08-20 18:14:15 +06:00
wukko
609bf26dd4
#177: add cookie support
merge pull request #177 from dumbmoron/cookie
2023-08-20 16:58:49 +06:00
wukko
c72d9b0ed1 change cookie path capitalization for consistency with other env stuff 2023-08-20 16:58:04 +06:00
wukko
fd0357e52d move cookies to processing
slight clean up and better example
2023-08-20 16:51:39 +06:00
wukko
a8cbebd240 vxtwitter support
- moved out host overrides to its own file
- added mastodon verification
2023-08-20 16:11:16 +06:00
wukko
8304499ce7 fixed streamable (the service) metadata 2023-08-20 15:45:03 +06:00
wukko
c870c03271
#178: always send something on stream failure
merge pull request #178 from dumbmoron/stream-error-handling
2023-08-20 15:43:28 +06:00
wukko
36622fc7ac collapsed two lines 2023-08-20 15:42:57 +06:00
wukko
7376cd88e1
feat: streamable.com support
merge pull request #179 from blobadoodle/streamable-support
2023-08-20 15:19:39 +06:00
wukko
890b7c8924 streamable: clean up + more patterns 2023-08-20 15:18:21 +06:00
Blobadoodle
9af60e1e6b === 2023-08-19 18:58:01 +01:00
Blobadoodle
df894864ce useless comments 2023-08-19 18:34:43 +01:00
Blobadoodle
cd1d699886 feat: streamable support 2023-08-19 17:42:10 +01:00
dumbmoron
b0bed82167 always send something on stream failure
prevents reverse proxies (namely nginx) from assuming the server died because of an empty response
2023-08-17 21:04:17 +00:00
dumbmoron
a2216510b7 add cookie support
usage:
 - create cookies.json file somewhere, preferrably outside cobalt directory
 - in docker, you can bind mount it (`volumes` in composefile)
   - if you don't want cobalt to update the cookies, set it to `:ro` (cobalt will print a warning about this, ignore it)
 - set COOKIE_PATH to the absolute path of this file
 - enjoy?

usage in services: probably the simplest api ever
 - import { getCookie, updateCookie } from '../../cookie/manager.js';
 - const cookie = getCookie('<service_name>');
   - add this to headers - `headers: { cookie }`
 - after fetch is done, save potential cookie updates: updateCookie(cookie, fetch.headers)
 - see instagram.js for example usage
2023-08-16 19:59:33 +00:00
wukko
91a60c1ec2 oops 2023-08-16 16:44:33 +06:00
wukko
5541acee88 7.0.1: ui tweaks
- fixed streamable downloads in safari
- added background blur to popup backdrop
- reduced shadow blur for popups
- fixed content going out of corners in picker
2023-08-16 16:08:24 +06:00
wukko
2038050a2d fix streamable downloads on ios 2023-08-15 18:48:57 +06:00
wukko
2302c1dbe4
7.0 release 2023-08-15 16:15:11 +06:00
wukko
fe56cc84aa temp fix until future update 2023-08-15 16:14:17 +06:00
wukko
bf506f5da9 updated readme 2023-08-15 16:12:38 +06:00
wukko
a1637e249f
fix soundcloud pattern test
merge pull request #167 from dumbmoron/fix-soundcloud-pattern-test
2023-08-15 16:10:39 +06:00
wukko
47924b9273
fix instagram downloads
merge pull request #169 from dumbmoron/fix-instagram
2023-08-15 16:10:19 +06:00
wukko
5bc65ad44c 7.0 changelog 2023-08-15 16:07:43 +06:00
wukko
27d872363d graphql twitter api & soundcloud fix
closes #127
2023-08-15 14:37:59 +06:00
wukko
789acbc99b fix download audio button in picker 2023-08-14 02:07:05 +06:00
wukko
f4b486a236 actually use rate-limit status 2023-08-14 01:51:55 +06:00
wukko
c4830cac08 made picker usable in new ui, but still ugly
download audio button still dies after 20 seconds, have to change url from stream to direct file (because tiktok audio links are static)
2023-08-14 01:36:19 +06:00
wukko
5955594e48 even more cleansing
- added support for x.com urls
- removed del shortcut for clearing url input area because it was causing regular typing issues
- added info about no liability
- fixed donate button glow and text backdrop padding
- updated donation and privacy policy texts for more clarity in both english and russian
- made cors question in setup script to take yes as answer, not just 'y'
- text-to-copy now has proper rounding when highlighted
- home screen now smoothly fades in instead of popping in
2023-08-14 00:09:50 +06:00
wukko
c5681bba94 making deepsource happy 2023-08-11 22:07:34 +06:00
wukko
998ab635d3 more ui enhancements
new in this commit:
- rounded corners everywhere! cobalt is now safe for everyone who can't handle sharp objects.
- proper banner loading. no more jumping text!
- proper banner error handling. if banner wasn't loaded, it'll simply go grey instead of disappearing.
- links are no longer italic and are instead underlined.
- collapsible lists now have corresponding emoji.
- donate button is now highlighted with magenta instead of white.
- added a list of keyboard shortcuts to about tab.
- centered old changelog loader.
2023-08-11 21:53:30 +06:00
dumbmoron
5e17144cb7 fix instagram downloads 2023-08-11 12:24:31 +00:00
dumbmoron
c3071b54c2 fix soundcloud pattern test
username can actually be up to 25 characters long, song url can actually be up to 255 characters long
2023-08-07 14:50:15 +00:00
wukko
bd04de65d7
Update FUNDING.yml 2023-08-06 17:39:36 +06:00
wukko
689bac83d5 disable ask how to save checkbox on ios 2023-08-05 01:06:02 +06:00
wukko
5580eb1e13 oh my god goodnight 2023-08-05 01:01:45 +06:00