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 | |
parent | e8adaa0eb15f1b83a430ec35046b4d2756e02885 (diff) |
* separate directory for dumps
-rwxr-xr-x | dumps/second-a-lap.py | 2 | ||||
-rw-r--r-- | dumps/second-a-lap/.gitignore (renamed from dumps/.gitignore) | 0 |
2 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 diff --git a/dumps/.gitignore b/dumps/second-a-lap/.gitignore index 2211df6..2211df6 100644 --- a/dumps/.gitignore +++ b/dumps/second-a-lap/.gitignore |