We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7276066 + a62c85c commit b532631Copy full SHA for b532631
2 files changed
atwiki/core.py
@@ -25,7 +25,7 @@ class AtWikiAPI(object):
25
def __init__(self, uri, **kwargs):
26
self._uri = uri
27
self._user_agent = kwargs.get('user_agent', 'Mozilla/5.0 (AtWikiPython)')
28
- self._sleep = kwargs.get('sleep', 1)
+ self._sleep = kwargs.get('sleep', 10)
29
30
def get_list(self, tag=None):
31
index = 0
atwiki/tools/dump.py
@@ -52,7 +52,7 @@ def start(cls, args):
52
page_src = api.get_source(page_id)
53
with open(path, 'w') as f:
54
f.write(page_src)
55
- time.sleep(1)
+ time.sleep(10)
56
57
path = '{0}/meta.json'.format(output_dir)
58
print('dumping: meta data to {0}'.format(path))
0 commit comments