Add html_to_markdown function to convert HTML to Markdown.

This commit is contained in:
Paul Gauthier 2024-02-08 12:02:42 -08:00
parent 681f26d010
commit 75e7f2bd4e

View file

@ -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)