The same stories are also here:
http://www.ashidakim.com/zenkoans/zenindex.html
Did one of these sites copy the other? Or does it even matter?
http://www.ashidakim.com/zenkoans/zenindex.html
Did one of these sites copy the other? Or does it even matter?
I'm not sure how copyrights apply to excerpts, translations, edits and re-prints of presumably public-domain original works.
with open(r"zen.html", "w") as f:
pat = re.compile(r'.*\<p class="header"\>(.*?)</p>.*!-- Display story -->(.*?)</div>', re.DOTALL)
for i in range(101):
url = "http://www.101zenstories.com/index.php?story=%s" % str(i + 1)
html = urlopen(url).read()
result = pat.match(html)
f.writelines(["<h2>%d. %s</h2>" % (i + 1, result.group(1)), result.group(2)])So at least it seems like this one is a bit better maintained or being taken care of.