File size: 301 Bytes
7516245 | 1 2 3 4 5 6 7 8 | from state import ArticleScraperState
from tools.scraper import scrape_article
def scrape_article_content(state: ArticleScraperState):
"""Scrape the content from a news article URL"""
url = state["url"]
article_content = scrape_article(url)
return {"article_content": article_content} |