CLI tool to download contents from Fantia
fantia-dl
does not require any installation.
You can download the executable from releases and use it directly by specifying the path.
Otherwise, you can install it via go cli
go install github.com/KleinChiu/fantia-dl
Usage:
fantia-dl <post|backnumber> [arguments]
You can download all contents of a post with its url
fantia-dl post --url https://fantia.jp/posts/1 --session your_session_string
You can download all contents of a backnumber with its url
fantia-dl backnumber --url https://fantia.jp/fanclubs/1/backnumbers?month=201811&plan=1 --session your_session_string
The url to download backnumber is a bit different to the url shown in the URL field sometime. You can copy the url from the right hand side.
Session ID is a string that represent your login state.
fantia-dl
need it to download content from Fantia, and will only use it to download contents.
Some contents are member only, please copy the value after you logged in.
For Google Chrome / Microsoft Edge,
- Press F12 to open "Developer Tools"
- Switch to "Application" tab
- Copy the value of "_session_id" under Cookies > https://fantia.jp
For Firefox,
- press F12 to open "Web Developer Tools"
- Switch to "Storage" tab
- Copy the value of "_session_id" under Cookie > https://fantia.jp