Created
August 20, 2017 13:11
-
-
Save oflow/ad53ebd61b526f57a6dfe33e9e595f43 to your computer and use it in GitHub Desktop.
保存するやつ。sleep 入れないと怒られる。
This file contains 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/sh | |
url=http://ncode.syosetu.com/txtdownload/dlstart/ncode | |
id=651272 | |
for i in `seq 1 242` | |
do | |
f=`printf %03d $i` | |
wget "$url/$id/?no=$i&code=utf-8&hankaku=0" -O $f.txt | |
sleep 5s | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment