Difegue / LANraragi

Web application for archival and reading of manga/doujinshi. Lightweight and Docker-ready for NAS/servers.
https://lrr.tvc-16.science
MIT License
2.2k stars 156 forks source link

[EHentai Plugin] Not use artist tag by default #798

Closed chu-shen closed 1 year ago

chu-shen commented 1 year ago

If the artist's name is not in English, the text search will return 'No matching EH Gallery Found!'

This code can be found at https://github.com/Difegue/LANraragi/blob/d54f08976347393ffbbd35fe74a89a6c660d398e/lib/LANraragi/Plugin/Metadata/EHentai.pm#L175-L181

For example:


It is recommended to either add a switch for this feature or remove it altogether.

Jesan71 commented 1 year ago

Finally know why the plugin always find no match. I use Filename Parsing first and Jp artist's name tag was added.

Difegue commented 1 year ago

Thanks for that report. It's true that EH doesn't support non-ascii characters in their tags, so it doesn't make much sense to try and slam those in the URL searches...

I've pushed a change to filter non-english tags out of searches. Thanks again!