RicterZ / nhentai

nhentai doujinshi downloader
http://nhentai.net
MIT License
804 stars 112 forks source link

Feature suggestion: download tags to the html file #87

Closed billxsand closed 4 years ago

billxsand commented 4 years ago

Hello, I am looking for a way to download the 'tag' data so that I can later sort by tags

It would be beneficial to download all the tag data (such as Parodies Tags, Artists, Languages, and Categories) from the Nhentai page, and include it somewhere in the generated HTML for easy searching

If you view the source of any Nhentai page they are under


    <div class="container" id="bigcontainer">
[...]
        <div id="info-block">
            <div id="info">
                <section id="tags">

it might be beneficial to get ALL the information such as page numbers as well

EDIT: just realized Another solution would be to add a 'tags' option to the 'Supported doujinshi folder formatter'

Alocks commented 4 years ago

In Doujinshi() Class, already indexes everything but there is no use for it yet. There's also a push request that imports to a third party software metadata, but the code is broken, and needs some fixes.

Now for the html thing, the simpliest way would be using AJAX, Still, I think would be better using a third party software imho. I'll look into the pull request anyways.