From 2bf1baf3b3f9ec552c04faebd9b6c7bf2d1676e3 Mon Sep 17 00:00:00 2001 From: Sunpy Date: Fri, 12 Jan 2018 22:35:26 +0100 Subject: [PATCH] Nope... thats not how git works... oh well --- .gitignore | 5 +---- config.json | 13 +++++++++++++ memory.json | 1 + 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 config.json create mode 100644 memory.json diff --git a/.gitignore b/.gitignore index 0cb9237..7f0bfa3 100644 --- a/.gitignore +++ b/.gitignore @@ -98,7 +98,4 @@ ENV/ /site # mypy -.mypy_cache/ - -memory.json -config.json \ No newline at end of file +.mypy_cache/ \ No newline at end of file diff --git a/config.json b/config.json new file mode 100644 index 0000000..bd6b023 --- /dev/null +++ b/config.json @@ -0,0 +1,13 @@ +{ + "sql": { + "host": "127.0.0.1", + "user": "root", + "passwd": "toor", + "db": "osu-wayback" + }, + "scrape": { + "delay": 1, + "max_attempts": 3, + "increase_delay_on_fail": true + } +} \ No newline at end of file diff --git a/memory.json b/memory.json new file mode 100644 index 0000000..0b69e63 --- /dev/null +++ b/memory.json @@ -0,0 +1 @@ +{"scrape": {"last": 0, "failed": []}} \ No newline at end of file