Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # ./your_script.sh pixiv_cookie.txt "http://www.pixiv.net/tags.php?tag=love10kusers"
- #
- # I use for to grab multiple pages and you need to get that cookie.txt somehow.
- for i in `wget -O - $2 | grep -Eo 'http://[a-z0-9]+.pixiv.net/img[0-9]+/img[^"]+' | \
- sed 's/_s//' | uniq`
- do
- wget -c -t 5 --load-cookies $1 --header \
- "Referer: http://www.pixiv.net/" $i
- done
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement