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