diff options
author | emkael <emkael@tlen.pl> | 2014-10-12 22:14:12 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2014-10-12 22:14:12 +0200 |
commit | 85054539fe308d8c466b9e92d0045e3bae5b7be0 (patch) | |
tree | b0c3a883e30d033bbaf64e363cd4e636eb5ecfec /dumps/second-a-lap.py | |
parent | e8adaa0eb15f1b83a430ec35046b4d2756e02885 (diff) |
* separate directory for dumps
Diffstat (limited to 'dumps/second-a-lap.py')
-rwxr-xr-x | dumps/second-a-lap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dumps/second-a-lap.py b/dumps/second-a-lap.py index e8221b5..12cf514 100755 --- a/dumps/second-a-lap.py +++ b/dumps/second-a-lap.py @@ -18,7 +18,7 @@ def fetch(url): for table in tables: name = "".join(x for x in title if x.isalnum()) + '-' + str(i) + '.txt' print name - path = open(name, 'w') + path = open('second-a-lap/' + name, 'w') print >>path, etree.tostring(table) i += 1 |