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:
1616 - "BR to P" fix from readability.js which improves quality for smaller texts.
1717 - Github users contributions.
1818
19- Usage:
19+ Usage::
2020
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()
2626
27- Command-line usage:
27+ Command-line usage::
2828
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 33
44setup (
55 name = "readability-lxml" ,
6- version = "0.2" ,
6+ version = "0.2.1 " ,
77 author = "Yuri Baburov" ,
88 author_email = "burchik@gmail.com" ,
9- description = "python port of arc90's readability bookmarklet " ,
9+ description = "fast python port of arc90's readability tool " ,
1010 long_description = open ("README" ).read (),
1111 license = "Apache License 2.0" ,
1212 url = "http://github.com/buriy/python-readability" ,
You can’t perform that action at this time.
0 commit comments