-
-
Notifications
You must be signed in to change notification settings - Fork 975
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
[Gelbooru] Missing Favorites Extractor #3704
Comments
Favorites listings like Would it be OK to internally use the results from |
The results from your link format are publically accessible but they differ from logged-in favorites in two ways:
So I believe it is not OK unless this is the only method we can rely on due to sorted by id difference. |
Great stuff. Thank you very much! I will wait for next release before testing it. |
I ended up testing this out and it works! Build: Some nitpicks:
|
and add docstring so it shows up in --list-extractors
I found way to access favorites without cookies, API key, or any form of authentication: dcb8af6. What I haven't found is a way to have them returned in descending order;
|
Very nice work. I originally tried to find the source code for *booru's (to grab the GET params API) but had no luck. Regarding Sorry I can't contribute more because my Python skills are rusty. |
Hello!
When I run
gallery-dl "https://gelbooru.com/index.php?page=favorites&s=view&id=1111111" --write-metadata -o skip=true
where1111111
is my user ID, I get:gallery-dl: Unsupported URL 'https://gelbooru.com/index.php?page=favorites&s=view&id=1111111
From looking at
gallery-dl --list-extractors
I can discern only "Pool, Post, and Tag" are defined for Gelbooru.Reading the code in
gallery_dl/extractor/
it looks like there are Favorites Extractors defined for GelbooruV01 and V02. It looks like a favorite extractor section is missing, that would probably use V01/V02's, in the maingelbooru.py
file?I would like to request this Favorites addition to the Gelbooru Extractors. Thanks!
The text was updated successfully, but these errors were encountered: