mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
10.76k stars 886 forks source link

[Feature Request] Kemono.party Creator Names #1548

Closed austblack88 closed 3 years ago

austblack88 commented 3 years ago

This is just a small request, but I was wondering if it could be possible to include the actual name of content creators as a keyword. The user id is useful for sure, but I'd like to be able to also include the actual name of the creator in the directory for easier identification.

Doofy420 commented 3 years ago

I saw this being discussed before, I think the dev said that it's impossible with the current api. Although I know of python based ripper called yiff.bat that was able to deal with creator names for kemono, so it seems possible. This would be a nice feature indeed.

austblack88 commented 3 years ago

Really? That's interesting. I figured it wouldn't be an issue considering it's right in the HTML. It's not only in the title element, but also in the 'user-header' class div as well: <span class="user-header-info-title">sakimichan</span>

mikf commented 3 years ago

https://github.com/mikf/gallery-dl/commit/0717456b4e0d1ca34652f9420436d47ed01bc0c6 adds a metadata option which does an extra HTTP request to fetch full names as username field.

I'm pretty sure kemono.party didn't include full creator names in their respective post listings in the past, so this wasn't possible back then.

austblack88 commented 3 years ago

Excellent, thanks a bunch!

Doofy420 commented 3 years ago

how do we make this work? I'm getting folders named as 'none'

austblack88 commented 3 years ago

In your config file, put "metadata": true under kemonoparty

Doofy420 commented 3 years ago

works with {username} thanks a lot!