Commit graph

645 commits

Author SHA1 Message Date
dumbmoron
395a59a8b1 add instagram stories support
+ some code cleanup and deduplication
2023-08-26 16:06:46 +00:00
dumbmoron
b54efb968f clean up posts/reels code 2023-08-26 06:35:13 +00:00
wukko
8dcb6d8ea7
a typo just broke everything 2023-08-26 00:53:05 +06:00
wukko
be21c86d89 youtube: added support for live links 2023-08-26 00:03:24 +06:00
dumbmoron
93aa1f4db4 add option to disable file metadata
closes #142
2023-08-25 17:57:03 +00:00
wukko
b56edfc193 7.1.2
instagram & soundcloud improvements + minor fixes
2023-08-23 01:07:09 +06:00
wukko
fc89cb566b clean up 2023-08-23 01:03:31 +06:00
wukko
749c00a691 soundcloud: got rid of html parsing 2023-08-23 00:49:02 +06:00
wukko
0ef2c70c66 add support for more vimeo links
closes #184
2023-08-22 12:46:13 +06:00
wukko
4a52fe632d
forgot this one 2023-08-22 01:15:07 +06:00
wukko
2c4efc5a25 fix for picker on ios & popup title line height 2023-08-21 23:40:37 +06:00
wukko
fded708d05
#185: instagram hotfix
merge pull request #185 from dumbmoron/instagram-hotfix
2023-08-21 22:05:11 +06:00
wukko
a1e08c0692 Update instagram.js 2023-08-21 22:03:18 +06:00
dumbmoron
40f8b3ee0c update cookies that have no expiration 2023-08-20 22:33:33 +00:00
dumbmoron
9eb6700399 set instagram specific headers 2023-08-20 22:33:30 +00:00
dumbmoron
ba7137ef62 send cookies as-is 2023-08-20 22:21:00 +00:00
wukko
b2501cc98d updated changelog 2023-08-20 23:27:06 +06:00
wukko
0a5fff32ae 7.1 release
added changelog and update notice
2023-08-20 23:25:02 +06:00
wukko
877148159d
use else-if instead of if for evaluating action
merge pull request #183 from dumbmoron/decider-elif
2023-08-20 22:46:13 +06:00
wukko
9d590a64dc fix the order 2023-08-20 22:30:26 +06:00
dumbmoron
a59ecd14e7 use else-if instead of if for evaluating action
sets a fixed order of actions
2023-08-20 16:20:18 +00:00
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