mirror of
https://forge.chapril.org/tykayn/orgmode-to-gemini-blog
synced 2025-06-20 09:04:42 +02:00
up stats speed
This commit is contained in:
parent
55b33285f7
commit
6f2844fb0c
2 changed files with 3 additions and 2 deletions
|
@ -177,7 +177,8 @@ if generate_linkings_json :
|
||||||
'title': title,
|
'title': title,
|
||||||
'next': None,
|
'next': None,
|
||||||
'previous': 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
|
'org_content': content, # Contenu Org original
|
||||||
'html_content_without_h1': re.sub(r'<h1>.*?</h1>', '', html_content), # Contenu HTML converti sans le titre de premier niveau
|
'html_content_without_h1': re.sub(r'<h1>.*?</h1>', '', html_content), # Contenu HTML converti sans le titre de premier niveau
|
||||||
'html_content': html_content # Contenu HTML converti
|
'html_content': html_content # Contenu HTML converti
|
||||||
|
|
2
stats.py
2
stats.py
|
@ -9,7 +9,7 @@ def main():
|
||||||
Fonction principale qui génère les statistiques pour tous les sites web configurés
|
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...")
|
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
|
# Récupérer les statistiques pour tous les sites
|
||||||
stats = get_stats_on_all_websites()
|
stats = get_stats_on_all_websites()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue