From 75e7f2bd4e19287c83c19c64e263dafd6a413ab3 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 8 Feb 2024 12:02:42 -0800 Subject: [PATCH] Add html_to_markdown function to convert HTML to Markdown. --- aider/scrape.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aider/scrape.py b/aider/scrape.py index 228fee553..d136d295e 100755 --- a/aider/scrape.py +++ b/aider/scrape.py @@ -117,6 +117,9 @@ def html_to_text(page_source: str) -> str: return text +def html_to_markdown(page_source: str) -> str: + pass + def main(url): scraper = Scraper() content = scraper.scrape(url)