mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05: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
|
return text
|
||||||
|
|
||||||
|
|
||||||
|
def html_to_markdown(page_source: str) -> str:
|
||||||
|
pass
|
||||||
|
|
||||||
def main(url):
|
def main(url):
|
||||||
scraper = Scraper()
|
scraper = Scraper()
|
||||||
content = scraper.scrape(url)
|
content = scraper.scrape(url)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue