File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,16 @@ Usage
24
24
25
25
::
26
26
27
- >> import requests
28
- >> from readability import Document
29
- >>
30
- >> response = requests.get('http://example.com')
31
- >> doc = Document(response.text)
32
- >> doc.title()
33
- >> 'Example Domain'
34
- >> doc.summary()
35
- >> u'<html><body><div><body id="readabilityBody">\n<div>\n <h1>Example Domain</h1>\n
27
+ >>> import requests
28
+ >>> from readability import Document
29
+
30
+ >>> response = requests.get('http://example.com')
31
+ >>> doc = Document(response.text)
32
+ >>> doc.title()
33
+ 'Example Domain'
34
+
35
+ >>> doc.summary()
36
+ u'<html><body><div><body id="readabilityBody">\n<div>\n <h1>Example Domain</h1>\n
36
37
<p>This domain is established to be used for illustrative examples in documents. You may
37
38
use this\n domain in examples without prior coordination or asking for permission.</p>
38
39
\n <p><a href="http://www.iana.org/domains/example">More information...</a></p>\n</div>
You can’t perform that action at this time.
0 commit comments