rthaut / deviantART-Filter

A browser extension that allows you to filter DeviantArt by user, keyword, and/or category.
https://rthaut.github.io/deviantART-Filter/
GNU General Public License v3.0
31 stars 1 forks source link

Support Tag and Category Filtering for Galleries #45

Closed rthaut closed 4 years ago

rthaut commented 6 years ago

User filters are applied to user/group galleries, but tag and category filters do not work.

This will require a way to retrieve metadata for thumbnails in galleries.

The DeviantArt API has endpoints for galleries, but most of those require a gallery UUID, which is not the ID used in the URL when viewing a gallery page.

It will likely be necessary to first retrieve all galleries for a user/group (via gallery/folders) and then find the matching gallery by name before the actual deviations and their metadata can be retrieved. Alternatively (or additionally), using the gallery/all endpoint seems to provide UUIDs of deviations in any of the user's/group's galleries, which might be useful to avoid having to first get the list of gallery folders.