Nandaka / PixivUtil2

Download images from Pixiv and more!
http://nandaka.devnull.zone/
BSD 2-Clause "Simplified" License
2.3k stars 250 forks source link

Is there anyway to seperate fanbox downloads into it's own directory #1250

Open PerseusRex opened 1 year ago

PerseusRex commented 1 year ago

I'll support some artists on fanbox, but I'll also follow them on pixiv. I follow a lot of artists on pixiv and it's sometimes become a hassle to scroll through the files. So is there a way to have all fanbox artists in it's own main folder?

biggestsonicfan commented 1 year ago

I had a real problem with this, but here's my directory setup:

rootDirectory = /run/media/XXX/Seagate Backup Plus Drive/NewArchive
[Filename]
filenameFormat = /pixiv/%member_id%/%urlFilename% - %title%
[FANBOX]
filenameFormatFanboxCover = /fanbox/%member_id%/%urlFilename% - %title%

Just make sure in your filename formats with both "Filename" and "FANBOX" have two separate folder paths.

PerseusRex commented 1 year ago

I had a real problem with this, but here's my directory setup:

rootDirectory = /run/media/XXX/Seagate Backup Plus Drive/NewArchive
[Filename]
filenameFormat = /pixiv/%member_id%/%urlFilename% - %title%
[FANBOX]
filenameFormatFanboxCover = /fanbox/%member_id%/%urlFilename% - %title%

Just make sure in your filename formats with both "Filename" and "FANBOX" have two separate folder paths.

So I just want to makes sure, it's probably an obvious answer but just want to double check. So my settings are still the default setting so I should change it like this? I have to add either /pixiv/ or /fanbox/ to all lines that involve filename.

From

filenameFormat = %artist% (%member_id%)\%urlFilename% - %title%
filenameMangaFormat = %artist% (%member_id%)\%urlFilename% - %title%
filenameInfoFormat = %artist% (%member_id%)\%urlFilename% - %title%
filenameMangaInfoFormat = %artist% (%member_id%)\%urlFilename% - %title%
filenameSeriesJSON = %artist% (%member_id%)\%manga_series_id% - %manga_series_title%
filenameFormatSketch = %artist% (%member_id%)\%urlFilename% - %title%
filenameFormatNovel = %artist% (%member_id%)\%manga_series_id% %manga_series_order% %urlFilename% - %title% 

To

[Filename]
filenameFormat = /pixiv/%artist% (%member_id%)\%urlFilename% - %title%
filenameMangaFormat =  /pixiv/%artist% (%member_id%)\%urlFilename% - %title%
filenameInfoFormat =  /pixiv/%artist% (%member_id%)\%urlFilename% - %title%
filenameMangaInfoFormat =  /pixiv/%artist% (%member_id%)\%urlFilename% - %title%
filenameSeriesJSON =  /pixiv/%artist% (%member_id%)\%manga_series_id% - %manga_series_title%
filenameFormatSketch =  /pixiv/%artist% (%member_id%)\%urlFilename% - %title%
filenameFormatNovel =  /pixiv/%artist% (%member_id%)\%manga_series_id% %manga_series_order% %urlFilename% - %title%

and for Fanbox

From

filenameFormatFanboxCover = %artist% (%member_id%)\(%image_id%) %title% \%R-18% %urlFilename% - %title%
filenameFormatFanboxContent = %artist% (%member_id%)\(%image_id%) %title% \%R-18% %urlFilename% - %title%
filenameFormatFanboxInfo = %artist% (%member_id%)\(%image_id%) %title% \%R-18% %urlFilename% - %title%

To

filenameFormatFanboxCover = /fanbox/%artist% (%member_id%)\(%image_id%) %title% \%R-18% %urlFilename% - %title%
filenameFormatFanboxContent = /fanbox/%artist% (%member_id%)\(%image_id%) %title% \%R-18% %urlFilename% - %title%
filenameFormatFanboxInfo = /fanbox/%artist% (%member_id%)\(%image_id%) %title% \%R-18% %urlFilename% - %title%
biggestsonicfan commented 1 year ago

@PerseusRex I don't know what your rootDirectory config is, but that's about it. Also you need to use backslashes "\" instead of forwardslashes "/" because you're probably using a different operating system than me.

PerseusRex commented 1 year ago

@PerseusRex I don't know what your rootDirectory config is, but that's about it. Also you need to use backslashes "" instead of forwardslashes "/" because you're probably using a different operating system than me.

Thanks, yea I noticed it too halfway through, thanks for the heads up. It's working now