mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
Add html_to_markdown function to convert HTML to Markdown.
This commit is contained in:
parent
681f26d010
commit
75e7f2bd4e
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue