Commit Graph

55 Commits

Author SHA1 Message Date
Mike Fährmann
e006d26c8e Revert "use f-strings when building 'pattern'"
revert d7c97d5a97.
2025-12-20 22:07:37 +01:00
Mike Fährmann
5831679fd2 [blueskx] add 'api-server' option (#8668) 2025-12-09 17:52:55 +01:00
Mike Fährmann
968597a302 yield 3-tuples for Message.Directory
adapt tuples to the same length and semantics as other messages
2025-12-05 21:39:52 +01:00
Mike Fährmann
d7c97d5a97 use f-strings when building 'pattern' 2025-10-20 21:23:11 +02:00
Mike Fährmann
c38856bd3f [dt] use 'parse_datetime_iso()' for ISO formats 2025-10-19 21:52:05 +02:00
Mike Fährmann
085616e0a8 [dt] replace 'text.parse_datetime()' & 'text.parse_timestamp()' 2025-10-17 17:43:06 +02:00
Mike Fährmann
ff0728dcd3 [bluesky] handle exceptions during file extraction 2025-10-08 10:39:51 +02:00
Mike Fährmann
a4e0091b25 [bluesky] add 'bookmark' extractor (#8370) 2025-10-08 10:00:12 +02:00
Mike Fährmann
a097a373a9 simplify if statements by using walrus operators (#7671) 2025-07-22 20:57:54 +02:00
Mike Fährmann
d8ef1d693f rename 'StopExtraction' to 'AbortExtraction'
for cases where StopExtraction was used to report errors
2025-07-09 21:07:28 +02:00
Mike Fährmann
f2a72d8d1e replace 'request(…).json()' with 'request_json(…)' 2025-06-29 17:50:19 +02:00
Mike Fährmann
9dbe33b6de replace old %-formatted and .format(…) strings with f-strings (#7671)
mostly using flynt
https://github.com/ikamensh/flynt
2025-06-29 17:50:19 +02:00
Mike Fährmann
e08ec7e083 update copyright notices 2025-06-13 00:03:41 +02:00
Mike Fährmann
e199396872 [common] simplify 'user' extractors by using 'Dispatch' mixin 2025-05-24 18:04:53 +02:00
Mike Fährmann
1da44d8fe6 [bluesky] handle exception for posts without 'record' (#7499) 2025-05-10 20:24:25 +02:00
Mike Fährmann
dcaf7293b3 [bluesky] add 'video' extractor (#4438) 2025-04-16 12:00:57 +02:00
Mike Fährmann
7d1321cbda [bluesky:likes] fix infinite loop (#7194 #7287)
at the end of 'feed.getActorLikes'
2025-04-16 08:58:15 +02:00
Mike Fährmann
397a795a17 [bluesky] use self.groups / remove constructors 2025-04-15 22:47:33 +02:00
Mike Fährmann
481ad1c206 [bluesky:likes] use 'repo.listRecords' endpoint (#7194 #7287)
requires one additional API request per post,
but allows accessing likes of all users without login
and avoids the infinite loop at the end of 'getActorLikes'

add 'endpoint' option
2025-04-15 22:47:33 +02:00
Mike Fährmann
94d7df186f [bluesky] default to /posts if reposts/quoted is enabled (#6583) 2024-12-13 22:24:37 +01:00
Mike Fährmann
624dc7f407 [bluesky] add 'info' extractor 2024-12-05 08:36:33 +01:00
Mike Fährmann
d29a0b779e [bluesky] unescape search queries (#6579) 2024-12-01 17:56:49 +01:00
Mike Fährmann
a4d6ba9709 [bluesky] ignore non-quote embeds (#6577)" 2024-12-01 17:54:14 +01:00
Mike Fährmann
f47c0982a0 [bluesky] improve 'web' did handling 2024-11-20 16:05:05 +01:00
Delphox
565dc5b43b [bluesky] match fxbsky.app and vxbsky.app 2024-11-02 16:00:43 -03:00
Mike Fährmann
93adfbe935 merge #6410: [bluesky] match common bluesky embed fixes 2024-11-02 18:28:07 +01:00
Mike Fährmann
cd47425ccc [bluesky] fix downloads from non-bsky PDSs (#6406) 2024-11-02 18:22:34 +01:00
Mike Fährmann
9deed87340 [bluesky] add 'author["instance"]' metadata (#4438) 2024-11-02 17:37:11 +01:00
Delphox
80c7246732 [bluesky] match cbsky.app, bskye.app, bskyx.app and bsyy.app urls 2024-11-02 13:04:32 -03:00
Mike Fährmann
99fe2b1f55 [bluesky] support 'main.bsky.dev' URLs (#4438) 2024-11-02 15:33:31 +01:00
Mike Fährmann
a4791f5243 [bluesky] add 'hashtag' extractor (#4438)
https://github.com/mikf/gallery-dl/issues/4438#issuecomment-2439979958
2024-10-27 13:59:46 +01:00
Mike Fährmann
8f396cfc57 [bluesky] add 'quoted' option (#6323) 2024-10-25 17:22:33 +02:00
Mike Fährmann
4c391805de [bluesky] simplify file extraction code (#6183) 2024-09-16 09:37:18 +02:00
Mike Fährmann
7d6520e15d [bluesky] support video downloads (#6183) 2024-09-15 22:38:03 +02:00
Mike Fährmann
6db1837a6d [bluesky] filter reposts only for user timelines (#5528) 2024-05-01 16:00:07 +02:00
Mike Fährmann
da6ba60331 [bluesky] add 'instance' metadata field (#4438) 2024-03-18 17:36:16 +01:00
Mike Fährmann
6482bbc525 [bluesky] handle different 'embed' structure 2024-03-03 20:41:01 +01:00
Mike Fährmann
1115dccd0d [bluesky] fix feeds and lists
bug introduced in 495c9ee1
2024-03-03 20:22:34 +01:00
Mike Fährmann
a00b171d4e [bluesky] wait unitl 'RateLimit-Reset' on 429 responses 2024-02-28 18:13:16 +01:00
Mike Fährmann
7d874e2497 [bluesky] improve API error messages 2024-02-28 14:45:36 +01:00
Mike Fährmann
495c9ee126 [bluesky] add 'reposts' option (#4438, #5248) 2024-02-27 18:42:29 +01:00
Mike Fährmann
311a21bfb2 [bluesky] fix '/follows' not spawning child extractors (#5246) 2024-02-26 15:38:31 +01:00
Mike Fährmann
ee7c054855 [bluesky] add 'search' extractor (#4438)
Both https://bsky.app/search?q=QUERY and https://bsky.app/search/QUERY
are recognized as search URLs, where QUERY gets forwarded unmodified as
'q' parameter for app.bsky.feed.searchPosts .

User searches are not supported yet.
2024-02-16 15:58:47 +01:00
Mike Fährmann
91e5c4fdfe [bluesky] add 'avatar' and 'background' extractors (#4438) 2024-02-16 15:41:19 +01:00
Mike Fährmann
0abd9723af [bluesky] add 'metadata' option (#4438)
allow extracting 'user' metadata and
make 'facets' extraction optional
2024-02-15 23:30:16 +01:00
Mike Fährmann
7e036ea290 [bluesky] add 'depth' option (#4438)
and reduce default depth and parentHeight values
2024-02-15 22:26:05 +01:00
Mike Fährmann
c7d17f1111 [bluesky] extract 'hashtags', 'mentions', and 'uris' metadata (#4438) 2024-02-10 00:01:55 +01:00
Mike Fährmann
55bbd49a0e [bluesky] download images in original resolution (#4438)
at least up to 2000 px
2024-02-09 21:33:33 +01:00
Mike Fährmann
5c2a2321a2 [bluesky] update refresh token after using it (#4438) 2024-02-08 22:33:34 +01:00
Mike Fährmann
9c10be54fb [bluesky] add 'following' extractor (#4438) 2024-02-08 21:58:17 +01:00