diff options
| author | jwansek <eddie.atten.ea29@gmail.com> | 2026-02-21 17:10:52 +0000 |
|---|---|---|
| committer | jwansek <eddie.atten.ea29@gmail.com> | 2026-02-21 17:10:52 +0000 |
| commit | 4314d46fd9d14076c98c12d43f16861adda9bc2d (patch) | |
| tree | b09120449b0c492b8d3e06814d3557e6446a7e37 /edaweb/cache.py | |
| parent | fc287020b0968832932327997a3a8c84b8333117 (diff) | |
| download | boymoder.blog-4314d46fd9d14076c98c12d43f16861adda9bc2d.tar.gz boymoder.blog-4314d46fd9d14076c98c12d43f16861adda9bc2d.zip | |
Added cow
Diffstat (limited to 'edaweb/cache.py')
| -rw-r--r-- | edaweb/cache.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/edaweb/cache.py b/edaweb/cache.py index 5b66e43..8694666 100644 --- a/edaweb/cache.py +++ b/edaweb/cache.py @@ -1,5 +1,6 @@ import database import services +import json def update_cache(): print("Updating cache...") @@ -7,6 +8,7 @@ def update_cache(): db.update_commit_cache(services.request_recent_commits(since = db.get_last_commit_time())) print("Finished adding github commits...") db.append_qnas(services.scrape_whispa(db.config.get("qnas", "url"), since = db.get_oldest_qna())) + # print(json.dumps(services.scrape_whispa(db.config.get("qnas", "url"), since = db.get_oldest_qna()), indent = 4)) print("Finished parsing Q&As...") print("Started getting docker information with SSH...") |
