Skip to content

Instantly share code, notes, and snippets.

@oflow
Created August 20, 2017 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oflow/ad53ebd61b526f57a6dfe33e9e595f43 to your computer and use it in GitHub Desktop.
Save oflow/ad53ebd61b526f57a6dfe33e9e595f43 to your computer and use it in GitHub Desktop.
保存するやつ。sleep 入れないと怒られる。
#!/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