Commit Graph

431 Commits

Author SHA1 Message Date
9579c3dd08 api/twitter: fix return in extractGraphqlMedia 2025-03-11 13:59:59 +06:00
69421a11ad api/twitter: refactor, move graphql media extraction to a function 2025-03-11 13:58:24 +06:00
30460586c4 api/tests/twitter: add a gif test 2025-03-11 12:34:07 +06:00
75b498ed77 api/twitter: add fallback to syndication api
it's back yet again, now for good, i suppose
2025-03-11 12:34:04 +06:00
69dd37c5c3 api/twitter: handle 403 with no cookie in requestTweet() 2025-03-11 10:25:49 +06:00
9639c599f0 api/twitter: handle empty body properly 2025-03-11 10:00:24 +06:00
187bf9d745 merge: api 10.7.7 from main 2025-03-07 00:07:52 +06:00
jj
97f71df962 api/tests: replace broken facebook video link 2025-03-06 17:23:36 +00:00
jj
068ae2f2e7 api/internal: also transplant youtube HEAD requests 2025-03-06 17:16:46 +00:00
540aee6194 merge: updates from main 2025-02-24 15:11:30 +06:00
jj
dba405a6b4 api/facebook: add dispatcher support (#1115) 2025-02-18 17:44:25 +06:00
jj
a52aee2bb3 ci: use TEST_IGNORE_SERVICES variable for ignoring services 2025-02-18 09:12:55 +00:00
dcc99f0e62 merge: 10.7.4 from main branch 2025-02-13 17:20:11 +06:00
b5ba86dd75 api/youtube: return a proper error if the video is "inappropriate" 2025-02-13 17:09:03 +06:00
c31c484894 merge: 10.7.3 from main 2025-02-11 16:18:30 +06:00
4dc7d28696 api/instagram: fall back to photo in extractOldPost if video has no url 2025-02-11 15:42:16 +06:00
fa267ae54b api/core: return 429 http status for rate-limit (#1066)
Co-authored-by: jj <log@riseup.net>
2025-02-11 14:42:31 +06:00
jj
d8eda230e8 api/test: fix more twitter tests 2025-02-10 22:10:35 +00:00
jj
92061f2e82 api/run-test: print error code for unexpected errors 2025-02-10 22:06:30 +00:00
jj
fcb5023c23 api/test: always randomize ciphers and override envs 2025-02-10 22:04:57 +00:00
jj
d79950b15f api/test: clear a bunch of canFails 2025-02-10 22:03:10 +00:00
jj
0426621cf5 api/test: fix twitter bookmarked photo link 2025-02-10 21:59:11 +00:00
jj
a06bad161a api/test: add env for configuring ignored tests 2025-02-10 21:55:11 +00:00
jj
8f57881a68 api/test: use proxy from external proxy env if available 2025-02-10 21:48:30 +00:00
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
ca0bc9f395 api/ok: fix author not being handled properly (#1009) 2025-02-11 14:42:07 +06:00
ad23b70e9d merge: api 10.7.2 from main branch 2025-02-10 15:27:53 +06:00
de69989bbe api/service-config/instagram: add support for more share links 2025-02-10 11:53:37 +06:00
09706160a9 api/snapchat: allow profile params to be missing
fixes broken story extraction
2025-02-10 00:33:23 +06:00
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
fb739f5315 merge: 10.7 api from main branch 2025-02-09 18:34:30 +06:00
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
jj
59cb6b05be api/test: add test for private instagram posts 2025-02-09 11:50:26 +00:00
20525d6c7c api/processing/url: sort imports by line length 2025-02-09 17:49:19 +06:00
5b63e2e6f2 api/instagram: sort imports by line length 2025-02-09 17:48:49 +06:00
b3b893b8f3 api/misc/utils: add one (1) line break 2025-02-09 17:48:37 +06:00
9d2f77949a api/tests/snapchat: revert story link change 2025-02-09 17:48:00 +06:00
98dbba5672 api/test: add reddit to finicky list cuz reddit blocked github ips 2025-02-09 17:42:10 +06:00
jj
3f6dd4fced api/youtube: expect errorInfo to not be json 2025-02-08 20:59:53 +00:00
jj
a918b12387 api/tests: fix broken tests 2025-02-08 20:59:27 +00:00
jj
a8cc5bc8bc api/instagram: update tests 2025-02-08 20:05:49 +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