Nandaka / PixivUtil2

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

How to download files after selecting the pixivfanbox download category? #890

Closed glngir closed 3 years ago

glngir commented 3 years ago

hi, I have a little problem, for example, after I wrote f3 then it appeared that way and I am confused about how to download the file. the question is, what should I do after that? sorry, I'm new to learning code like that. thank you.

problem 1

Nandaka commented 3 years ago

you need to subscribe their fanbox. This tool cannot help you if you are not subscribed to the artist fanbox.

glngir commented 3 years ago

okay. well, then is the download file located in pixivutil.txt?

example from pixivutil.txt after input 2021-01-01 11:37:43,903 - PixivUtil20201212-beta3 - INFO - Download FANBOX by post id mode (f3). 2021-01-01 11:37:55,805 - PixivUtil20201212-beta3 - INFO - Trying to log in FANBOX with saved cookie 2021-01-01 11:37:57,542 - PixivUtil20201212-beta3 - INFO - Logging in with cookit to Fanbox, return url: https://www.fanbox.cc 2021-01-01 11:37:57,543 - PixivUtil20201212-beta3 - INFO - FANBOX Login successful. 2021-01-01 11:37:57,544 - PixivUtil20201212-beta3 - DEBUG - Getting post detail from https://api.fanbox.cc/post.info?postId=1633887 2021-01-01 11:37:58,333 - PixivUtil20201212-beta3 - DEBUG - {"body":{"id":"1633887","title":"Poses - [commanders]","coverImageUrl":"https:\/\/pixiv.pximg.net\/c\/1200x630_90_a2_g5\/fanbox\/public\/images\/post\/1633887\/cover\/U7AqUrlcMZ6wORBSJCmPt17m.jpeg","feeRequired":2000,"publishedDatetime":"2020-12-04T02:50:18+09:00","updatedDatetime":"2020-12-04T02:50:18+09:00","type":"image","body":null,"tags":["lingerie","3DCG","hijab","sexy","pinup"],"excerpt":"","isLiked":false,"likeCount":0,"commentCount":0,"restrictedFor":3,"user":{"userId":"19354769","name":"losekorntrol","iconUrl":"https:\/\/pixiv.pximg.net\/c\/160x160_90_a2_g5\/fanbox\/public\/images\/user\/19354769\/icon\/XeNf3FCUWCWt7EZF7qR166MJ.jpeg"},"creatorId":"losekorntrol","hasAdultContent":true,"status":"published","commentList":{"items":[],"nextUrl":null},"nextPost":{"id":"1633904","title":"Poses","publishedDatetime":"2020-12-04 02:50:29"},"prevPost":{"id":"1633955","title":"The Visit (11 - 20)","publishedDatetime":"2020-12-03 02:25:49"},"imageForShare":"https:\/\/pixiv.pximg.net\/c\/1200x630_90_a2_g5\/fanbox\/public\/images\/post\/1633887\/cover\/U7AqUrlcMZ6wORBSJCmPt17m.jpeg"}} 2021-01-01 11:37:58,393 - PixivUtil20201212-beta3 - INFO - Getting artist information from https://api.fanbox.cc/creator.get?userId=19354769 2021-01-01 11:37:59,109 - PixivUtil20201212-beta3 - INFO - Using OAuth to retrieve member info for: 19354769

Nandaka commented 3 years ago

I don't understand your question? the log file doesn't show anything about download?

bluerthanever commented 3 years ago

this tool doesn't hack for you to get post contents for free. you can only download free posts or those that you are subscribed to.

if you just want to download the cover image of the post, you can set downloadCoverWhenRestricted to True in config.ini.