Commit graph

195 commits

Author SHA1 Message Date
hyperdefined
d0f35b67ae
newgrounds: remove unused utils function 2025-02-14 10:50:16 -05:00
hyperdefined
77ed3bcd6d
newgrounds: return proper error codes 2025-02-14 10:50:15 -05:00
hyperdefined
ec2c5265d0
feat: newgrounds video & audio support 2025-02-14 10:50:08 -05:00
wukko
b5ba86dd75
api/youtube: return a proper error if the video is "inappropriate" 2025-02-13 17:09:03 +06:00
wukko
4dc7d28696
api/instagram: fall back to photo in extractOldPost if video has no url 2025-02-11 15:42:16 +06:00
Satya Ananda
d6b0fbc8ec
api/url: extract loom video id from longer links (#832)
Co-authored-by: jj <log@riseup.net>
2025-02-11 14:52:20 +06:00
zjy4fun
ca0bc9f395
api/ok: fix author not being handled properly (#1009) 2025-02-11 14:42:07 +06:00
wukko
de69989bbe
api/service-config/instagram: add support for more share links 2025-02-10 11:53:37 +06:00
wukko
09706160a9
api/snapchat: allow profile params to be missing
fixes broken story extraction
2025-02-10 00:33:23 +06:00
wukko
a0f227d68b
api/reddit: add support for mobile links & bunch of other links (#1098)
* api/reddit: extract params from a mobile share link

* api/reddit: add support for a bunch of links & update the api endpoint

also fixed "undefined" in a filename when downloading a user post

* api/service-patterns: fix reddit id pattern
2025-02-10 00:17:48 +06:00
wukko
6e653f468b
api/instagram: add a filename to all single images 2025-02-09 18:23:28 +06:00
jj
55f591b37d
api/instagram: add explanation for resolveRedirectingURL user-agent 2025-02-09 11:59:10 +00:00
wukko
20525d6c7c
api/processing/url: sort imports by line length 2025-02-09 17:49:19 +06:00
wukko
5b63e2e6f2
api/instagram: sort imports by line length 2025-02-09 17:48:49 +06:00
jj
3f6dd4fced
api/youtube: expect errorInfo to not be json 2025-02-08 20:59:53 +00:00
jj
cca61275f1
api/instagram: add support for share urls
closes #998
2025-02-08 17:24:02 +00:00
jj
1be13a30bf
api/instagram: age-restricted and private account-specific errors
fixes #222
2025-02-08 16:45:31 +00:00
jj
6d18dff5cc
api/bilibili: use shortlink resolver 2025-02-08 16:27:33 +00:00
jj
bbcb2bee7c
api/pinterest: use shortlink resolver 2025-02-08 16:09:49 +00:00
jj
5db5437b62
api/pinterest: fix undefined in name when downloading shortlink 2025-02-08 16:08:34 +00:00
jj
a758b1dbc6
api/snapchat: use shortlink resolver 2025-02-08 16:06:36 +00:00
jj
9e6582b76c
api/xiaohongshu: use shortlink resolver 2025-02-08 16:05:51 +00:00
jj
6e8b4f30c1
api/url: add function for resolving shortlinks
motivation: we frequently need to resolve shortlinks to full URLs
let's have a common standard function for doing this safely
instead of reinventing the wheel in every single service module
2025-02-08 13:53:29 +00:00
jj
77dca70792
api/instagram: yet another attempt at resurrection 2025-02-07 22:47:36 +00:00
wukko
36d4608ee5
api/bluesky: add support for tenor gifs 2025-01-21 17:18:49 +06:00
jj
ee3ef60a20
api/youtube: expect one of itags to be empty 2025-01-20 20:12:21 +00:00
wukko
0ab3fe4d2a
api: itunnel transplants (#1065) 2025-01-21 00:10:49 +06:00
jj
19ade7c905
api/youtube: return internal metadata for replaying request 2025-01-20 14:47:09 +00:00
jj
7767a5f5bb
api/youtube: add support for pinning client/itag 2025-01-20 14:46:55 +00:00
jj
035825bc05
api: cache original request parameters in stream 2025-01-20 14:38:55 +00:00
wukko
7488c74faf
api/xiaohongshu: clean up the h265-h264 if statement
Co-authored-by: jj <log@riseup.net>
2025-01-20 19:46:12 +06:00
wukko
e39b0ae7b3
api/xiaohongshu: deduplicate h264 stream extraction
reduce() isn't called on 1 item arrays, so this is just fine

Co-authored-by: jj <log@riseup.net>
2025-01-20 19:41:02 +06:00
wukko
4963c9f128
api/xiaohongshu: remove duplicated extraction error
Co-authored-by: jj <log@riseup.net>
2025-01-20 19:37:23 +06:00
wukko
3cbed87c3e
api/xiaohongshu: update initial state extraction regex
Co-authored-by: jj <log@riseup.net>
2025-01-20 19:35:53 +06:00
wukko
ed8f4353ea
api/processing: add support for xiaohongshu 2025-01-20 19:10:02 +06:00
wukko
63b2681017
api/match-action: always proxy photos 2025-01-20 19:04:31 +06:00
jj
ec0d773792
api/youtube: use Math.min instead of ternary operator 2025-01-20 12:38:12 +00:00
jj
0378a1ae15
api/youtube: fix error when downloading stuff from WEB 2025-01-20 12:37:36 +00:00
wukko
ef687750b4
api/tiktok: update domain because dns records for main one are gone
closes #1057
2025-01-18 17:02:24 +06:00
jj
ce7d553beb
api/match-action: pass audio bitrate when creating tiktok stream
fixes #996
2025-01-12 16:43:55 +00:00
wukko
50db4d342a
api & web: roll back the default hls change due to doubled CPU usage 2025-01-08 11:22:05 +06:00
wukko
ec019a1b50
api/schema: enable youtubeHLS by default 2025-01-08 10:54:07 +06:00
wukko
4d634603e2
api/youtube: fix variable shadowing
oops
2024-12-23 23:34:05 +06:00
wukko
c6d0e0bdd5
api/youtube: use poToken, visitorData, and web client with cookies
and also decipher media whenever needed, but only if cookies are used
2024-12-23 22:58:16 +06:00
jj
9da3ba60a9
api/youtube: add support for cookies 2024-12-23 11:11:48 +00:00
jj
1ed7e74773
api/match-action: pass isHLS when muting audio
fixes a bug where HLS status would be ignored if a muted video
was downloaded with HLS enabled
2024-12-22 14:09:16 +00:00
wukko
112866096c
api/url: return a diff error when youtube is disabled on main instance 2024-12-12 23:00:49 +06:00
wukko
4b8b0a0e9e
api/youtube: don't retrieve the player as cobalt doesn't use it
we don't decipher anything lol
2024-12-10 17:30:32 +06:00
wukko
6ca377ded6
api/tiktok: catch unavailable post error 2024-12-04 12:28:05 +06:00
wukko
4700682ccb
api/vk: refactor quality picking 2024-11-28 17:32:10 +06:00