Commit ccea528189
Unsigned
Layout: unified · split
docs/guides/manga/madokami.md +37
| @@ -160,6 +160,43 @@ By default, FMD2 will save it as folder. Go to `Options > Save to > Save downloa | |||
| 160 | Note that FMD2's module uses Madokami's web reader, which can't read `.webp` files, thus resulting in errors. | 160 | Note that FMD2's module uses Madokami's web reader, which can't read `.webp` files, thus resulting in errors. |
| 161 | ::: | 161 | ::: |
| 162 | 162 | ||
| 163 | ### Gallery-dl | ||
| 164 | |||
| 165 | :::steps | ||
| 166 | 1. Download and install [gallery-dl](https://github.com/mikf/gallery-dl) and [aria2](https://github.com/aria2/aria2). | ||
| 167 | 2. Create gallery-dl config file. | ||
| 168 | ```bash | ||
| 169 | mkdir -p ~/.config/gallery-dl | ||
| 170 | nano ~/.config/gallery-dl/config.json | ||
| 171 | ``` | ||
| 172 | 3. Put your madokami credentials in madokami config file. | ||
| 173 | ```bash | ||
| 174 | { | ||
| 175 | "extractor": { | ||
| 176 | "madokami": { | ||
| 177 | "username": "yourname", | ||
| 178 | "password": "yourpass" | ||
| 179 | } | ||
| 180 | } | ||
| 181 | } | ||
| 182 | ``` | ||
| 183 | 4. Open terminal and run this command: | ||
| 184 | ```bash | ||
| 185 | # Authenticate and export cookies + get URLs | ||
| 186 | gallery-dl --cookies-export ~/madokami-cookies.txt -g "Madokami URL" > /tmp/urls.txt | ||
| 187 | |||
| 188 | # Download in parallel with aria2c | ||
| 189 | aria2c -i /tmp/urls.txt -j 3 --load-cookies ~/madokami-cookies.txt | ||
| 190 | ``` | ||
| 191 | 5. The files will be saved in `/home` folder. | ||
| 192 | |||
| 193 | ::: info Skipping aria2 | ||
| 194 | If you are okay with single thread downloading, you can just use gallery-dl. | ||
| 195 | |||
| 196 | ```bash | ||
| 197 | gallery-dl "Madokami URL" | ||
| 198 | ``` | ||
| 199 | ::: | ||
| 163 | 200 | ||
| 164 | ### JDownloader 2 | 201 | ### JDownloader 2 |
| 165 | 202 | ||