You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code blocks in the following picture cannot be extracted in the result markdown:
The result markdown of this part in the above picture is :
## Make a Request¶
Making a request with Requests is very simple.
Begin by importing the Requests module:
Now, let’s try to get a webpage. For this example, let’s get GitHub’s public
timeline:
Now, we have a Response object called r. We can
get all the information we need from this object.
Requests’ simple API means that all forms of HTTP request are as obvious. For
example, this is how you make an HTTP POST request:
Nice, right? What about the other HTTP request types: PUT, DELETE, HEAD and
OPTIONS? These are all just as simple:
That’s all well and good, but it’s also only the start of what Requests can
do.
The text was updated successfully, but these errors were encountered:
When I try to extract the content from a webpage using
docling
, I found it cannot extract code blocks in the webpage.Reproduce steps
HTML URL: https://requests.readthedocs.io/en/latest/user/quickstart/
The code blocks in the following picture cannot be extracted in the result markdown:
The result markdown of this part in the above picture is :
## Make a Request¶ Making a request with Requests is very simple. Begin by importing the Requests module: Now, let’s try to get a webpage. For this example, let’s get GitHub’s public timeline: Now, we have a Response object called r. We can get all the information we need from this object. Requests’ simple API means that all forms of HTTP request are as obvious. For example, this is how you make an HTTP POST request: Nice, right? What about the other HTTP request types: PUT, DELETE, HEAD and OPTIONS? These are all just as simple: That’s all well and good, but it’s also only the start of what Requests can do.
The text was updated successfully, but these errors were encountered: