Skip to content

Commit

Permalink
community[patch]: Update URL to the 2markdown API (#24546)
Browse files Browse the repository at this point in the history
Update the URL to Markdown endpoint.

API information is available here: https://2markdown.com/docs#url2md
  • Loading branch information
smortezah authored Jul 23, 2024
1 parent a14e02a commit 9e06991
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def lazy_load(
) -> Iterator[Document]:
"""Lazily load the file."""
response = requests.post(
"https://2markdown.com/api/2md",
"https://api.2markdown.com/v1/url2md",
headers={"X-Api-Key": self.api_key},
json={"url": self.url},
)
Expand Down

0 comments on commit 9e06991

Please sign in to comment.