File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ Based on:
16
16
- "BR to P" fix from readability.js which improves quality for smaller texts.
17
17
- Github users contributions.
18
18
19
- Usage:
19
+ Usage::
20
20
21
- from readability.readability import Document
22
- import urllib
23
- html = urllib.urlopen(url).read()
24
- readable_article = Document(html).summary()
25
- readable_title = Document(html).short_title()
21
+ from readability.readability import Document
22
+ import urllib
23
+ html = urllib.urlopen(url).read()
24
+ readable_article = Document(html).summary()
25
+ readable_title = Document(html).short_title()
26
26
27
- Command-line usage:
27
+ Command-line usage::
28
28
29
- python -m readability.readability -u http://pypi.python.org/pypi/readability-lxml
29
+ python -m readability.readability -u http://pypi.python.org/pypi/readability-lxml
Original file line number Diff line number Diff line change 3
3
4
4
setup (
5
5
name = "readability-lxml" ,
6
- version = "0.2" ,
6
+ version = "0.2.1 " ,
7
7
author = "Yuri Baburov" ,
8
8
author_email = "burchik@gmail.com" ,
9
- description = "python port of arc90's readability bookmarklet " ,
9
+ description = "fast python port of arc90's readability tool " ,
10
10
long_description = open ("README" ).read (),
11
11
license = "Apache License 2.0" ,
12
12
url = "http://github.com/buriy/python-readability" ,
You can’t perform that action at this time.
0 commit comments