Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add a .markdown() function for response #339

Open
perklet opened this issue Jul 5, 2024 · 0 comments
Open

[Feature] Add a .markdown() function for response #339

perklet opened this issue Jul 5, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@perklet
Copy link
Collaborator

perklet commented Jul 5, 2024

Extract LLM-friendly markdown text from response.

Is your feature request related to a problem? Please describe.
N/A

Describe the solution you'd like

from curl_cffi import requests

r = requests.get("https://example.com/content-20240704.html")

text = r.markdown()

Describe alternatives you've considered
N/A

Additional context
Dependeices should be optional, probably with pip install curl-cffi[extra]

@perklet perklet added the enhancement New feature or request label Jul 5, 2024
@perklet perklet self-assigned this Jul 5, 2024
@perklet perklet added this to the v0.8 milestone Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant