Commit Graph

1163 Commits

Author SHA1 Message Date
hyperdefined
2439be868f
Merge branch 'imputnet:current' into newgrounds-support 2024-07-26 18:07:42 -04:00
hyperdefined
2de4cd6a30
cleanup: move processing into different functions 2024-07-26 18:06:33 -04:00
wukko
f8a28c6c5f
docs/api: update info about picker item types 2024-07-26 22:02:59 +06:00
wukko
9d4f7e666f
tests: add twitter image tests 2024-07-26 21:22:24 +06:00
wukko
dad13548e6
twitter: add support for downloading photos 2024-07-26 21:17:37 +06:00
wukko
57051968f3
youtube: better audio checking 2024-07-26 20:18:59 +06:00
wukko
7071157580
youtube: fix audio track selection for dubbed videos & clean up
closes #642
2024-07-26 19:54:19 +06:00
wukko
0895c695e7
repo: use global org funding file 2024-07-26 13:45:00 +06:00
wukko
b238587324
tests: allow rutube yappy test to fail 2024-07-26 09:56:22 +06:00
wukko
b308db4a59
package: update lock 2024-07-26 09:55:41 +06:00
wukko
b718b79ccd
package: bump version to 7.15 2024-07-26 09:52:55 +06:00
wukko
339a932e7f
package: update youtubei.js 2024-07-26 09:50:27 +06:00
hyperdefined
3e83e1ec36
Update servicesPatternTesters.js 2024-07-25 16:11:54 -04:00
hyperdefined
2dfd4f7da0
Merge branch 'current' into newgrounds-support 2024-07-25 16:11:22 -04:00
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
hyperdefined
8dc2f5ebd5
readme: include newgrounds support 2024-07-24 21:11:57 -04:00
hyperdefined
68d4aacffe
much better pattern testing 2024-07-24 21:10:36 -04:00
hyperdefined
573d97634c
upstream 2024-07-24 20:57:34 -04:00
hyperdefined
7529d78ea7
Update match.js 2024-07-24 20:57:22 -04:00
hyperdefined
b5ff796153
Merge branch 'current' of https://github.com/imputnet/cobalt into imputnet-current 2024-07-24 20:54:15 -04:00
hyperdefined
49ba560304
fix suggestions by @ihatespawn 2024-07-24 20:45:57 -04: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
hyperdefined
250cbcfac1
tests: add newgrounds tests 2024-07-18 12:59:48 -04:00
hyperdefined
beff9aaff6
change error type to make more sense 2024-07-18 10:48:48 -04:00
hyperdefined
d7b4ee6c06
fix video filenames 2024-07-18 10:48:13 -04:00
hyperdefined
82a1f6ce45
fix audio metadata and filename 2024-07-17 21:43:34 -04:00
hyperdefined
27a1d8dde3
Update newgrounds.js 2024-07-17 21:30:10 -04:00
hyperdefined
488ea8b1ec
undo these testing things 2024-07-17 21:29:17 -04:00
hyperdefined
b219c3e9aa
error checking for parsing things 2024-07-17 21:28:08 -04:00
hyperdefined
5723239f10
added video parsing 2024-07-11 20:41:51 -04:00
hyperdefined
5efe51098b
initial newgrounds support 2024-07-11 20:20:23 -04: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