Commit graph

1284 commits

Author SHA1 Message Date
wukko
cb2bde5b51
tests: allow facebook reel test to fail 2024-07-25 12:14:25 +06:00
wukko
8ab0661f1a
tests: update rutube yappy link 2024-07-25 12:08:37 +06:00
wukko
a388839e15
snapchat: clean up 2024-07-25 11:58:43 +06:00
wukko
83af16bb12
facebook: do not request the source url & clean up
fixed a vulnerability, removed useless variables, and cleaned up

thankfully we haven't built the image yesterday
2024-07-25 11:57:02 +06:00
ihatespawn
faeb96848b
tests: add mature video vimeo test (#628) 2024-07-24 19:46:29 +02:00
dumbmoron
9bf6cd36b5
tests: add canFail to facebook shortlink test 2024-07-24 15:56:50 +00:00
dumbmoron
27a6310357
ci/test: update basic test to use more reliable example link 2024-07-24 15:52:40 +00:00
dumbmoron
93c27f262b
tests/twitter: fix incorrect status, expect age restricted test to fail 2024-07-24 15:52:40 +00:00
dumbmoron
cdb2b401ce
ci: test services in github actions 2024-07-24 15:52:40 +00:00
dumbmoron
0fe85b2ae9
services/ok: fallback to compilation title if author name is missing 2024-07-24 15:52:28 +00:00
alina sireneva
a6623567e2
feat: support external proxies (#588) 2024-07-24 21:49:47 +06:00
dumbmoron
85e376bffd
api: move accept header check into handler, simplify error handling (#614) 2024-07-24 17:27:26 +02:00
dumbmoron
b516033f09
match: clean up snapchat call & add missing breaks 2024-07-24 15:17:58 +00:00
Snazzah
4080cd4581
services: add snapchat support (#429)
* feat: snapchat support

* chore: remove redundancy

* chore: a bit of better matching

* chore: update readme

* refactor(snapchat): refactor story matching to use pickers

* fix: small fix to directly linked stories

* fix(snapchat): fix filenames

* chore: update readme

* ref(snapchat): rewrite service, new test, split redirects into a util

* fix(snapchat): small fixes

* chore: deepscan error fixed

* fix: remove debug logging

* fix(snapchat): fix merge, clean up code with new utils

* fix(snapchat): update with suggested changes

---------

Signed-off-by: Snazzah <7025343+Snazzah@users.noreply.github.com>
Co-authored-by: jj <log@riseup.net>
2024-07-24 17:06:10 +02:00
Brama Udi
c77ee2eb44
services: add facebook support (#403)
* feat: add facebook support

* chore: fix fail check

* chore: minor fix

* chore: add service in README.md

* chore: cleaning post-merge code

* facebook: add shared link pattern

* chore: clean up removing unnecessarily code

* fix: facebook shared link pattern

* matchActionDecider: redirect to facebook video instead of rendering

* facebook: pass sourceUrl in object

* url: fix botched lint

* fix: facebook shared link pattern with clean up

* test: change facebook test response to redirect

---------

Co-authored-by: dumbmoron <log@riseup.net>
2024-07-24 17:05:21 +02:00
dumbmoron
31e1fa5c5c
run-an-instance: remove slash from end of CORS_URL example
it's somewhat misleading, since this specifies the origin
(https://html.spec.whatwg.org/multipage/browsers.html#concept-origin-tuple) and not a full URL
2024-07-20 12:53:59 +02:00
dumbmoron
d68ce2f490
stream/types: only use nice if parsed processingPriority is a number
for some reason, isNaN(true) -> false, which is technically correct,
but what the fuck...
2024-07-12 00:01:18 +00:00
dumbmoron
2f4e43f78f
youtube: client_id/client_secret is optional in session data 2024-07-11 07:56:13 +00:00
jj
c1f364929c
merge/youtube: bump youtubei.js to v10.1.0, update token format (#626)
to be in line with the structure youtubei.js expects when initializing
a session, the `expires` value of the stored tokens has been renamed
to `expiry_date`. if you have sessions that are stored in the cookies
file, cobalt ad-hoc transforms them into this new format.
2024-07-10 18:53:14 +02:00
dumbmoron
20c409cdb3
generate-youtube-tokens: update response format 2024-07-10 16:44:16 +00:00
dumbmoron
404cad711f
youtube: bump youtubei.js to v10.1.0 2024-07-10 14:13:56 +00:00
dumbmoron
33fa653ee5
package: bump version to 7.14.6 2024-07-09 13:55:38 +00:00
ihatespawn
bcb8ab101f
tests: fix broken links, correct expected responses (#618) 2024-07-09 15:17:09 +02:00
hyperdefined
cfce04bbd0
tests: fix broken twitter links (#604) 2024-07-09 00:03:03 +02:00
jj
87783a4c86
CONTRIBUTING: replace "message" with "title" when talking about amends 2024-07-07 17:23:42 +02:00
dumbmoron
ab1b07fe44
rutube: pick closest quality to requested quality 2024-07-07 15:14:16 +00:00
jj
2f4a013a2a
docs/api: use js-specific type for cors in serverInfo response
there is no such thing as an int in js
2024-07-07 15:31:55 +02:00
dumbmoron
5d122be451
repo: add CONTRIBUTING.md file
Co-authored-by: wukko <me@wukko.me>
2024-07-07 13:11:04 +00:00
jj
216529bfdf
vimeo: use api to get video info, direct download if possible (#612) 2024-07-07 14:25:17 +02:00
wukko
eb65e816af
stream/internal: convert headers to iterable object 2024-07-06 23:15:15 +06:00
dumbmoron
92f3d2366c
api: use spread operator for merging headers 2024-07-06 11:40:41 +00:00
dumbmoron
3096bc9df0
api: use Map for internal stream headers instead of plain object 2024-07-06 11:36:25 +00:00
dumbmoron
315ddb17c1
web/onDemand: check blockId is string, early return if not 2024-07-06 08:59:02 +00:00
dumbmoron
479e14778d
services/pinterest: stricter hostname check on video regex 2024-07-06 08:55:48 +00:00
dumbmoron
4daeaa3107
services/soundcloud: properly check script hostname 2024-07-06 08:33:02 +00:00
dumbmoron
0fefc4ac27
services/ok: fix video data extraction
closes #589
2024-07-06 08:25:01 +00:00
dumbmoron
8276e51dbc
ci: add fast-forward merge action 2024-07-04 11:28:17 +00:00
wukko
ec786f2bab
github: add an issue template for bugs only on main instance 2024-06-29 19:20:48 +06:00
wukko
94f512f768
github: update feature request template
better clarity & formatting
2024-06-29 19:17:48 +06:00
wukko
c27d1bbbeb
github: update formatting in service request template 2024-06-29 19:12:19 +06:00
wukko
59eabe2ada
github: update formatting in hosting help template 2024-06-29 19:11:52 +06:00
wukko
40b24d30b3
github: update bug report template
improved formatting & clarity
2024-06-29 19:11:13 +06:00
wukko
5f60b8274e
github: add an issue template for hosting help 2024-06-29 19:04:45 +06:00
wukko
af80db3634
github: add issue template for service request 2024-06-29 18:59:19 +06:00
wukko
1127e82098
stream/manage: inherit controller from parent istream if it exists (#587)
fixes controller handling for istream HLS playlists
2024-06-25 21:21:52 +06:00
dumbmoron
ed905fd60b
stream/manage: inherit controller from parent istream if it exists 2024-06-24 23:42:31 +00:00
wukko
558b6a9efd
merge/vimeo: use HLS instead of dash & clean up (#585) 2024-06-23 23:39:09 +06:00
wukko
b51bcc2a7c
vimeo: added more checks to avoid exceptions 2024-06-23 23:35:29 +06:00
wukko
de7df94271
vimeo: use proper local variable name in expandLink 2024-06-23 23:26:43 +06:00
wukko
850877369c
vimeo: clean up & fix 144p quality 2024-06-23 23:22:58 +06:00