formatting + waybackpy

This commit is contained in:
Eduard Prigoana 2025-07-22 07:03:24 +03:00
parent 9552369760
commit d33ced1214
6 changed files with 14 additions and 16 deletions

View file

@ -4,6 +4,7 @@ import threading
from config import HTML_FILENAME, CSV_FILENAME, XLSX_FILENAME
from update_loop import update_loop
from archive import test_archive
app = Flask(__name__)
CORS(app)
@ -39,11 +40,4 @@ if __name__ == "__main__":
from downloader import download_zip_and_extract_html, download_xlsx
from parser import generate_csv
try:
download_zip_and_extract_html()
download_xlsx()
generate_csv()
except Exception as e:
print(f"⚠️ Initial update failed: {e}")
app.run(host="0.0.0.0", port=5000)