BishopRed
b11434a069
[kemonoparty] Support /posts endpoint and Creator Tag Calls
...
- Adding support for calling a creator with a tag selected.
It is using a legacy endpoint but there is no other way currently
documented to get the users post filtered by a tag.
- Fixing the User Tags feature to be paginated
offset is not defined in the API but it is supported.
- Fixed the `/posts` endpoint not working:
1. Added check along with metadata to make sure there is a
creator/service information as that is a requirement
2. Fixed the parameter from tags -> tag.
3. Fixed the _paginate call to exit correctly when there is
a key required for the data (it was prematurely exiting)
- Adding a type of caching mechanism for the metadata/user information.
The current logic would work just fine if looking up for a
singular user, however for the multiple posts via normal
filtering would cause it to either:
This builds a local cache during the process so it should
only make a call for the user info once during the process.
- Updating to meet standards
Fixes
1. Reset formatting for unnecessary line changes
2. Removed Type Hinting
3.Replaced f-string with "".format
Updates
Renamed function creator_posts_tags -> creator_tagged_posts
for clarity of what it does (get posts tags vs get tagged posts)
- Fixing check for the length of response:
1. If it is list - just check len
2. If there is a key - check that the key length is less
than the batch.
- add test for '?tag=...' user URLs
plus some code simplifications
2025-01-21 19:20:22 +01:00
Mike Fährmann
91bd3e37f2
[pexels] add support ( #2286 , #4214 , #6769 )
2025-01-12 16:50:12 +01:00
Mike Fährmann
88f1ef7c3c
[bunkr] fix metadata extraction ( #6805 )
2025-01-11 12:48:41 +01:00
Mike Fährmann
1d75c8308c
[weebcentral] add support ( #6778 )
2025-01-10 23:04:51 +01:00
Mike Fährmann
118b994cf2
[bunkr] support '/f/...' media URLs
2025-01-10 13:01:04 +01:00
Mike Fährmann
ba0443115a
[bunkr] fix ValueError on relative redirects ( #6790 )
2025-01-10 13:00:52 +01:00
Mike Fährmann
89276c5b3e
[e621] match 'tag' search URLs with empty tag ( #6783 )
2025-01-07 20:00:26 +01:00
Mike Fährmann
46b6b71159
[wallhaven] extract 'search[tags]' and 'search[tag_id]' metadata
...
(#6772 )
2025-01-06 17:18:04 +01:00
Mike Fährmann
270aaea8ab
[pixiv] provide fallback URLs ( #6762 )
2025-01-06 15:27:32 +01:00
Mike Fährmann
5767c0854c
merge #6758 : [subscribestar] fix attachment downloads and add support for audio type
...
(#6721 , #>6724)
2025-01-02 18:25:37 +01:00
Mike Fährmann
671297a8cc
[subscribestar] extend fix + add test
...
some attachments are inside an element with an additional class besides
'doc_preview', e.g. 'class="doc_preview for_post"'
2025-01-02 18:22:15 +01:00
Mike Fährmann
428eb53086
[hitomi] provide 'search_tags' metadata for search/tag results
...
(#1015 , #6756 )
2025-01-02 17:49:30 +01:00
Mike Fährmann
0c584f9be7
[sankaku] support alphanumeric book/pool IDs ( #6757 )
2025-01-02 15:49:07 +01:00
Mike Fährmann
7391dd208c
[poipiku] always query 'ShowAppendFileF' when post has warning ( #6736 )
2024-12-27 20:32:50 +01:00
Mike Fährmann
bc7e95684d
[piczel] fix extraction ( #6735 )
...
- fix pagination
- update API endpoints
- provide 'count' metadata field
- use BASE_PATTERN and self.groups[…]
2024-12-27 15:08:08 +01:00
Mike Fährmann
167a726972
[szurubooru] support 'visuabusters.com/booru' ( #6729 )
2024-12-26 19:04:16 +01:00
Mike Fährmann
998f949db1
[civitai] add 'user-videos' extractor ( #6644 )
2024-12-26 10:18:54 +01:00
Mike Fährmann
3024dce06b
[8muses] skip albums without valid 'permalink' ( #6717 )
2024-12-24 13:49:19 +01:00
Mike Fährmann
f9d3603bfc
[hitomi] fix searches ( #6713 )
2024-12-24 09:36:29 +01:00
Mike Fährmann
de9442ba75
[directlink] use domain as 'subcategory' ( #6703 )
2024-12-22 17:19:56 +01:00
Mike Fährmann
18491a4ce6
[tapas] fix TypeError for locked episodes ( #6700 )
2024-12-21 15:17:51 +01:00
Mike Fährmann
e0514817bd
[saint] support 'saint2.cr' URLs ( #6692 )
2024-12-19 11:43:35 +01:00
Mike Fährmann
fd5869f7df
[bilibili] support '/upload/opus' URLs ( #6687 )
2024-12-18 08:53:27 +01:00
Mike Fährmann
5fbd0c3a63
[bilibili] extract files from 'module_top' entries ( #6687 )
2024-12-18 08:45:29 +01:00
Mike Fährmann
9f3e4511c6
[tapas] restructure extractors ( #6680 )
...
- handle all episodes with TapasEpisodeExtractor
- prevent locked episodes from stopping processing of all following
episodes
2024-12-17 21:36:37 +01:00
Mike Fährmann
b6b1008ef2
[kemonoparty] support new favorite URLs ( #6676 )
2024-12-16 07:45:33 +01:00
Mike Fährmann
7f6a53c347
[cohost] add 'avatar' and 'background' options ( #6656 )
2024-12-14 20:16:28 +01: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
85a37ca039
[facebook] decode surrogate pairs in metadata values ( #6599 )
2024-12-12 20:20:30 +01:00
Mike Fährmann
a33065be86
[zerochan] parse API response manually when json.loads() fails ( #6632 )
2024-12-12 19:57:37 +01:00
Mike Fährmann
d2c66ac34d
[zerochan] fix 'source' extraction when not logged in
2024-12-12 18:16:11 +01:00
Mike Fährmann
63008f77e2
merge #6607 : [lofter] add initial support
...
(#650 , #2294 , #4095 , #4728 , #5656 )
2024-12-11 20:41:52 +01:00
Mike Fährmann
717081dabd
[lofter] update
...
- add tests
- update docs/supportedsites
- provide 'date' metadata
- simplify/restructure some code
2024-12-11 20:39:01 +01:00
Mike Fährmann
0e942f0829
merge #6613 : [itaku] add 'search' extractor
2024-12-11 11:54:33 +01:00
Mike Fährmann
b58af14bdb
[itaku] update
...
- simplify code
- update docs/supportedsites
- update test results
2024-12-11 11:52:42 +01:00
Mike Fährmann
86334f9c4a
[yiffverse] add support ( #6611 )
2024-12-11 10:57:21 +01:00
Mike Fährmann
47311352de
[cyberdrop] add extractor for media URLs ( #2496 )
...
https://github.com/mikf/gallery-dl/issues/2496#issuecomment-2495467133
2024-12-08 20:57:12 +01:00
Mike Fährmann
ef7ff31117
[realbooru] fix extraction ( #6543 )
...
- extract data from HTML pages since API is no longer usable
- move code into its own separate 'realbooru' module
2024-12-07 17:39:25 +01:00
Mike Fährmann
e1613fc0f4
[nhentai] select random file servers for download URLs ( #6620 )
...
i1, i2, i3, i4 instead of just i.nhentai.net
2024-12-07 17:39:25 +01:00
Shelvacu
b90c77d8f1
[itaku] add 'search' extractor
2024-12-05 21:09:38 -08:00
Mike Fährmann
624dc7f407
[bluesky] add 'info' extractor
2024-12-05 08:36:33 +01:00
Mike Fährmann
a526a3d00d
[patreon] add 'format-images' option ( #6569 )
2024-12-04 21:38:01 +01:00
Mike Fährmann
d96717e2e6
[hentaicosplays] update domains ( #6578 )
...
inherit from BaseExtractor to make differentiating between sites easier
2024-12-03 13:56:32 +01:00
Mike Fährmann
63e042dec7
[e621] fix 'TypeError' when 'metadata' is enabled ( #6587 )
...
fixes regression introduced in 9184a564
2024-12-02 14:09:38 +01:00
Mike Fährmann
79fd3445ee
[pixiv:ranking] add 'rank' metadata field ( #6531 )
2024-11-28 19:34:55 +01:00
Mike Fährmann
9e7d7a3bb3
merge #6548 : [facebook] add more tests
2024-11-28 15:25:02 +01:00
Mike Fährmann
7c7b8a25c3
[kemonoparty] fix login / update favorites extractor ( #6415 )
2024-11-28 14:41:16 +01:00
Luca Russo
e36cfb73ff
added more tests
2024-11-28 10:55:43 +01:00
Mike Fährmann
e1aa4a7162
[kemonoparty] support new discord channel URLs ( #6542 )
2024-11-27 15:19:27 +01:00
Mike Fährmann
2162fa7df2
[kemonoparty] fix 'comments' for posts without comments ( #6415 )
...
https://github.com/mikf/gallery-dl/issues/6415#issuecomment-2501966303
2024-11-26 23:23:39 +01:00