Yuri Baburov
9aba330e68
Update README.rst
6 years ago
Yuri Baburov
0b28643f0d
Update README.rst
6 years ago
Yuri Baburov
59b99ffa0b
Merge pull request #105 from pypt/many_repeated_spaces_timeout
...
Trim many repeated spaces to make clean() faster
6 years ago
Yuri Baburov
494b19ed4e
Merge branch 'master' into many_repeated_spaces_timeout
6 years ago
Yuri Baburov
dca6e2197a
Merge pull request #107 from pypt/module_version_constant
...
Add __version__ constant to __init__.py, read it in setup.py
6 years ago
Yuri Baburov
5215ab657b
Merge pull request #106 from pypt/python_3_7
...
Improvements for Python 3.7 support and CI
6 years ago
Linas Valiukas
68fb5ad4c0
Try a workaround to make build work on 3.7
...
https://github.com/travis-ci/travis-ci/issues/9815
6 years ago
Linas Valiukas
34fce7664d
Update Python version in .travis.yml
6 years ago
Linas Valiukas
0233936e72
Add __version__ constant to __init__.py, read it in setup.py
...
Users wouldn't need to install, import and use Pip ("pkg_resources") to
find out which version of readability-lxml is being used.
6 years ago
Linas Valiukas
63fbc36cb8
Close sample input file after reading it
...
Otherwise tests spit out:
ResourceWarning: unclosed file <_io.TextIOWrapper name='/Users/pypt/Dropbox/etc-MediaCloud/python-readability/tests/samples/si-game.sample.html' mode='r' encoding='UTF-8'>
return open(os.path.join(SAMPLES, filename)).read()
6 years ago
Linas Valiukas
bdb6d671d8
Test with Python 3.7 on Travis
6 years ago
Linas Valiukas
34d198fe5a
Add Python 3.7 classifier
6 years ago
Linas Valiukas
2bbb70b3e5
Fix Travis build
...
Add "test" extra and install dependencies for said extra as detailed in:
https://stackoverflow.com/a/41398850/200603
6 years ago
Linas Valiukas
747c46abce
Trim many repeated spaces to make clean() faster
...
When Readability encounters many repeated whitespace, the cleanup
regexes in clean() take forever to run, so trim the amount of whitespace
to 255 characters.
Additionally, test the extracting performance with "timeout_decorator".
6 years ago
Yuri Baburov
8235f0794c
Trying to pass travis tests.
6 years ago
Yuri Baburov
f7f439d019
Improved positive_keywords and negative_keywords processing for the CLI
6 years ago
Yuri Baburov
0c8f040d53
Updated docs for positive_keywords and negative_keywords, cleaner implementation.
6 years ago
Yuri Baburov
0e50b53d05
Release version 0.7 . Better HTML5 support and an important bugfix.
6 years ago
Yuri Baburov
537de2b8f6
Improved remove_unlikely_candidates following an advice from issue #102
6 years ago
Yuri Baburov
97e86c4559
Merge pull request #101 from hugovk/add-3.5-3.6
...
Add support for Python 3.5 and 3.6, drop support for Python 3.3 and 2.6
7 years ago
Hugo
f4a04732fd
Workaround for py35
7 years ago
Hugo
4172699812
Add Python 3.5 and 3.6
7 years ago
Hugo
f74adc6893
Drop support for EOL Python 3.3
7 years ago
Hugo
27159f45b3
Drop support for EOL Python 2.6
7 years ago
Yuri Baburov
78cac34bb3
Merge pull request #96 from ccurvey/master
...
fix encoding detection to use the encoding being tested
7 years ago
Chris Curvey
9a31587192
fix encoding detection to use the encoding being tested
7 years ago
Yuri Baburov
e4efc87a20
Update readability.py
8 years ago
Yuri Baburov
b20d5c15ef
Improved Document class documentation
8 years ago
Yuri Baburov
b6e5921f27
Merge pull request #85 from lwm/add-badge
...
Add travis badge
8 years ago
Luke Murphy
aafcf52e58
add travis badge
...
[ci skip]
8 years ago
Yuri Baburov
5337adc590
Merge pull request #82 from lwm/fixup-readme
...
Makeover for the README
8 years ago
Yuri Baburov
86cde20ba6
Merge pull request #84 from lwm/add-travis-file
...
Add travis file
8 years ago
Luke Murphy
a1d6bbcd3f
add travis file
8 years ago
Luke Murphy
82837e4b5c
makeover for the README [ci skip]
8 years ago
Yuri Baburov
75f2ea0d00
Version bump to 0.6.2
8 years ago
Yuri Baburov
47e473fb91
Merge pull request #73 from alphapapa/patch-1
...
Using Mozilla User-Agent by default
8 years ago
alphapapa
8443a87f5c
Update readability.py
8 years ago
alphapapa
5fc2d3684a
Use Mozilla User-Agent
...
Use a "Mozilla" user-agent to avoid HTTP 403 errors. Fixes #71 .
8 years ago
Yuri Baburov
65d1ebb06d
Fixed #70 and added xpath option
9 years ago
Yuri Baburov
fae95bad45
Bump to v0.6.1 -- fixed logging
9 years ago
Yuri Baburov
c0d794fdd8
Update readability.py
...
Fixed logging namespace
9 years ago
Yuri Baburov
398f6ad748
Bump to 0.6.0.5
9 years ago
Yuri Baburov
8ff11e68a6
Debugging improvements. Bump to 0.6.0.5
9 years ago
Yuri Baburov
fcdbe563a5
Fixed #49 . Bump to 0.6.0.4
9 years ago
Yuri Baburov
c51886d923
Bump to 0.6.0.3
...
Fixed installation.
9 years ago
Yuri Baburov
24bb20c761
Added dev branch features.
...
Bumped to version 0.6
9 years ago
Yuri Baburov
154658798b
Merge pull request #64 from martinth/master
...
Added python 3 support (Supported: python 2.6, 2.7, 3.3, 3.4).
Thanks a lot to @martinth
9 years ago
Yuri Baburov
83a7ce67c1
Merge pull request #68 from digitaldavenyc/python3
...
fix for setup, convert print to python 3 compatible format
9 years ago
Dave Padovano
1ac3e019bd
fix for setup, convert print to python 3 compatible format
9 years ago
Yuri Baburov
1aabdb3d27
Merge pull request #67 from horva/fix-logging-config
...
Move logging.basicConfig to main function
9 years ago