-
-
Notifications
You must be signed in to change notification settings - Fork 941
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[e621] extract extended metadata using e621-specific API endpoints #3425
Conversation
The /{post_id}.json endpoint doesn't return anything useful in the case of e621.
This allows the user to configure e621 and e926 separately, but it is not backward compatible since the old configuration will no longer apply to e926.
- fix flake8 errors - move e926 tests to e621.py - remove 'Favorites' support from aibooru (because the code only works for e621)
update configuration.rst
So you want to undo the "merge danbooru and e621 code" part from 563bd0e? I guess it is better that way, given the increasingly large differences. I wouldn't inherit from gallery-dl/gallery_dl/extractor/danbooru.py Lines 70 to 80 in 4611237
If you want, I can also do this myself (in maybe a cleaner way) and you redo your metadata related changes after. I would generally prefer not to include too many changes into one PR if possible. Also, |
Wouldn't that re-introduce some of the duplicate code, though? I wanted to be sure other Danbooru instances didn't break, since I didn't use them as often. I guess I missed some of the obvious e621-specific code...
That would be fine, since this is mostly just a discussion. Thanks in advance.
I rewrite Git history a lot (including using |
This is more of a discussion on the best way to implement features that are specific to e621. Considering that e621 "is a heavily modified fork of Danbooru", it may be necessary to separate e621 from the Danbooru extractors sooner or later.
Summary of the changes in this PR:
/notes.json
API endpoint"pool"
While working on e621 I found that the
Favorites
extractor did not work foraibooru
, so I've disabled it insupportedsites.py
and left a TODO comment.