Auto-update: Mon Sep 2 14:39:48 PDT 2024
This commit is contained in:
parent
fca76d2229
commit
ae332f7cfc
1 changed files with 3 additions and 1 deletions
|
@ -155,7 +155,9 @@ async def process_and_save_article(
|
||||||
voice: str = Tts.elevenlabs.default,
|
voice: str = Tts.elevenlabs.default,
|
||||||
site_name: Optional[str] = None
|
site_name: Optional[str] = None
|
||||||
) -> str:
|
) -> str:
|
||||||
|
'''
|
||||||
|
Primary function for saving articles.
|
||||||
|
'''
|
||||||
try:
|
try:
|
||||||
# Fetch and parse article
|
# Fetch and parse article
|
||||||
article = await fetch_and_parse_article(url)
|
article = await fetch_and_parse_article(url)
|
||||||
|
|
Loading…
Add table
Reference in a new issue