Created
October 5, 2021 16:11
-
-
Save daffainfo/deb405bc4efe1b490212ee5bf2148c80 to your computer and use it in GitHub Desktop.
Pixiv image downloader
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ID=13612963 | |
for i in `curl https://www.pixiv.net/ajax/user/$ID/profile/all --silent | sed 's/manga.*//' | grep -o -E "[0-9]{8}"`; | |
do for j in `curl https://www.pixiv.net/ajax/illust/${i}/pages --silent | jq -r '.body[0].urls.original'`; | |
do wget --header="Referer: https://pixiv.net" ${j}; | |
done; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment