Created
May 9, 2012 07:15
-
-
Save shogo82148/2642622 to your computer and use it in GitHub Desktop.
切なぃ恋ダウンローダ
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
import urllib2 | |
import json | |
api = "http://estar.jp/api/get_novel_page_info?_=1336547125896&w=13428686&p=%d" | |
for i in range(1, 122): | |
url = api % i | |
res = urllib2.urlopen(url) | |
data = json.load(res) | |
print "Page:", i | |
print data["content"].encode("utf-8") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment