formatting + waybackpy
This commit is contained in:
parent
9552369760
commit
d33ced1214
6 changed files with 14 additions and 16 deletions
8
main.py
8
main.py
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue