From 6f2844fb0c63277c0d6da699484f38e3b5ad8f53 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Sun, 23 Feb 2025 17:04:43 +0100 Subject: [PATCH] up stats speed --- linking_articles_prev_next.py | 3 ++- stats.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/linking_articles_prev_next.py b/linking_articles_prev_next.py index dcb0eea1..c8f2ae55 100644 --- a/linking_articles_prev_next.py +++ b/linking_articles_prev_next.py @@ -177,7 +177,8 @@ if generate_linkings_json : 'title': title, 'next': None, 'previous': None, - 'last_html_build': last_html_build + 'last_html_build': last_html_build, + 'last_gemini_build': last_gemini_build, 'org_content': content, # Contenu Org original 'html_content_without_h1': re.sub(r'

.*?

', '', html_content), # Contenu HTML converti sans le titre de premier niveau 'html_content': html_content # Contenu HTML converti diff --git a/stats.py b/stats.py index 226a73c8..98a65588 100644 --- a/stats.py +++ b/stats.py @@ -9,7 +9,7 @@ def main(): Fonction principale qui génère les statistiques pour tous les sites web configurés """ print("Génération des statistiques pour tous les sites web...") - lecture_mots_par_minute = 150 + lecture_mots_par_minute = 220 # Récupérer les statistiques pour tous les sites stats = get_stats_on_all_websites()