|
2003e2760b
|
Move custom_handler to crawler
Makes more sense. Easier to reuse. Also cleaned up a bit the code
|
2017-03-18 22:51:27 -10:00 |
|
|
e1a13a623c
|
crawler: remove unefficient feedburner-specific code
|
2017-03-18 22:31:03 -10:00 |
|
|
367f86987d
|
readabilite: spread score to all ancestors
Instead of just parents and grandparents
|
2017-03-18 22:24:38 -10:00 |
|
|
e3ab3c6823
|
crawler: use less tertiary operator
Inherited from fork
|
2017-03-18 22:23:39 -10:00 |
|
|
65055290d4
|
crawler: better use of chardet
Scan whole doc since beginning of html pages tends to be too regular. Ignore ASCII detection for the same reason.
|
2017-03-18 22:19:54 -10:00 |
|
|
9ee6ff60e1
|
crawler: 301 http code doesn't respect headers
More or less according to the specs
|
2017-03-18 22:18:10 -10:00 |
|
|
f4abc4e8a4
|
Detect encoding (using crawler) before readabilite
|
2017-03-11 02:30:57 -10:00 |
|
|
c952b85d92
|
crawler: cache 301 HTTP code, for a week
|
2017-03-09 09:37:05 -10:00 |
|
|
e8023e4336
|
crawler: remove unused NotInCache error-class
|
2017-03-09 09:35:40 -10:00 |
|
|
385f9eb39a
|
morss: use crawler strict accept for feed
|
2017-03-08 19:05:48 -10:00 |
|
Florian Muenchbach
|
993ac638a3
|
Added override for auto-detected character encoding of parsed pages.
|
2017-03-08 18:45:20 -10:00 |
|
|
627163abff
|
Make cache settings in morss nicer
|
2017-03-08 18:09:24 -10:00 |
|
|
e5f8e43659
|
Shifted the <link rel='alternate'/> redirect to crawler
Now using MIMETYPE var from crawler within morss.py
|
2017-03-08 18:03:34 -10:00 |
|
|
fb8825b410
|
crawler: parse html to get http-equiv
For sure slower, but way cleaner (and probably more stable)
|
2017-03-08 17:50:57 -10:00 |
|
|
f4f6a86147
|
feeds: make wheezy.template mandatory
Cleaner code. Less confusing.
|
2017-03-08 15:38:59 -10:00 |
|
|
ad9bf946ec
|
crawler: use chardet again
Always nice in case no encoding is specified. Somehow got dropped with commit 245ba99. Most probably by accident
|
2017-03-08 11:37:12 -10:00 |
|
|
3fc89d5359
|
readabilite: improve score for <p>
Helps a lot with bbc, le monde. Might backfire on other websites tho...
|
2017-03-01 18:02:45 -10:00 |
|
|
a8ac2ed1ca
|
Turn FeedBefore/After into ItemBefore/After
To reduce the number of loops
|
2017-02-28 23:24:32 -10:00 |
|
|
fcc5e8a076
|
Add "Feed/Item" in functions name
To make it instantly clearer what they work on
|
2017-02-28 23:23:15 -10:00 |
|
|
60e3311e97
|
Use readabilite properly
Not thru some weird wrapper anymore
|
2017-02-28 22:45:26 -10:00 |
|
|
dc8423550f
|
Support xml starting with \s
|
2017-02-25 19:04:32 -10:00 |
|
|
e0f533ca31
|
readabilite: test to replace <br/> with div
|
2017-02-25 18:16:15 -10:00 |
|
|
c6c113b8a8
|
readabilite: function to clean up the html code
|
2017-02-25 18:15:33 -10:00 |
|
|
58d9f65735
|
readabilite: explain the use of .tail
|
2017-02-25 18:14:13 -10:00 |
|
|
a5aec8c7a6
|
readability: more keywords to the filter list
Also fixed indentation
|
2017-02-25 18:13:15 -10:00 |
|
|
026903ce73
|
crawler: change http header after uncompressing
Change content-encoding to "identity"
|
2017-02-25 18:10:43 -10:00 |
|
|
e71fc967ce
|
readabilite: shift "good" tags to a var (list)
So that this list can later be re-used
|
2017-02-25 18:07:28 -10:00 |
|
|
b14381f575
|
Use internal readability fork
Much simpler, doesn't clean the html, probably less efficient, but much faster
|
2016-05-31 02:50:03 +02:00 |
|
|
2b9bfb47e5
|
Remove :smart and etag headers
Dirty code, not very useful. Use simple cache-control instead.
|
2016-05-31 02:47:49 +02:00 |
|
|
4ff80cec86
|
Check argv length before using it
|
2016-05-31 02:46:28 +02:00 |
|
|
466d8e47d6
|
Also make buriy's readability port compatible
Should be faster, and it now supports py3
|
2015-08-29 18:33:12 +02:00 |
|
|
95d9d847e9
|
:proxy implies :keep
|
2015-08-29 17:48:07 +02:00 |
|
|
8a1c00abf0
|
Typo in python version check
|
2015-08-28 19:29:09 +02:00 |
|
|
624fa47f4f
|
Allow CLI change of the www/ path
|
2015-08-28 19:22:55 +02:00 |
|
|
31fc939d52
|
Allow CLI change of the http server port
|
2015-08-28 19:22:23 +02:00 |
|
|
4f9000beed
|
Comment code of launching modes
|
2015-08-28 19:18:09 +02:00 |
|
|
5e87b56a03
|
Return error code in plain text in file server
|
2015-08-28 19:16:15 +02:00 |
|
|
ffda3fac7e
|
Improve file detection in web server
|
2015-08-28 19:15:40 +02:00 |
|
|
6741a408dd
|
Remove now-useless ca-cert file path
|
2015-08-28 19:13:54 +02:00 |
|
Massimo Vannucci
|
8656e53b84
|
Correct Python version check
|
2015-08-05 23:36:11 +02:00 |
|
Massimo Vannucci
|
098a306c91
|
Fixed typo
|
2015-08-05 23:24:44 +02:00 |
|
|
5c2151ffd6
|
Improve widely feedsportal url decoder
|
2015-06-14 20:32:47 +08:00 |
|
|
8418212475
|
Use good path for html template access
|
2015-05-04 22:26:31 +08:00 |
|
|
931fd53da6
|
Fix 304-cache handling
To make sure that the cached request also gets processed (by GZip and stuff)
|
2015-05-04 22:25:26 +08:00 |
|
|
ae062ebe90
|
Remove deprecated https error catch
|
2015-04-07 18:59:37 +08:00 |
|
|
7a3b257328
|
Make :mono use basic loop
Makes profiling easier
|
2015-04-07 18:16:08 +08:00 |
|
|
2f86a2a44b
|
Remove useless obscure cgi code
|
2015-04-07 09:49:44 +08:00 |
|
|
131ba09207
|
Change :cache mode behavior
Makes underlying code way cleaner
|
2015-04-07 09:38:22 +08:00 |
|
|
cafb87d561
|
Fix sqlite relative path in cgi
|
2015-04-07 09:37:25 +08:00 |
|
|
decb3f15f6
|
Move the mod_cgi files to /cgi/
|
2015-04-07 09:36:00 +08:00 |
|