bakape / hydron

media tagger and organizer
GNU Lesser General Public License v3.0
95 stars 9 forks source link

Fetch image rating from gelbooru JSON API #44

Closed bakape closed 5 years ago

bakape commented 6 years ago

An extra request in addition to the page fetch is required.

bakape commented 5 years ago

A better approach would be to retrieve the image ID + rating from the API and then extract the tags with categories from the image HTML page.

gelbooru commented 5 years ago

We have had a tags API for years as well. Please update your code and use that. Thanks.

bakape commented 5 years ago

The problem is your tag API does not include categories (or did not, when I wrote this), but tags in HTML are grouped by category. Feel free to correct me, when that changes.

gelbooru commented 5 years ago

It's been around since at least December 1st, 2012

https://gelbooru.com/index.php?page=wiki&s=view&id=18780

bakape commented 5 years ago

Closed with a7e87a17b889d965f442edd5d432ad7e5f51c1ca