pictuga
|
1b4fc88ad0
|
Replace MetaRedirect handler with two cleaner ones
One for <meta http-equiv> and one for HTTP 'refresh' header
|
2015-04-06 23:03:17 +08:00 |
pictuga
|
f2fe4fc364
|
Drop HTTPS SSL certificate verification
Breaks everything with python 3. Now built-in in recent python 2.7.9 and python 3.4-ish
|
2015-04-06 22:54:59 +08:00 |
pictuga
|
88af80e817
|
feeds: no need to decode xml strings
It event makes python3 lxml get angry
|
2015-04-06 22:37:33 +08:00 |
pictuga
|
1335b3fdda
|
feedify: use better relative path for the .ini
|
2015-04-06 22:19:13 +08:00 |
pictuga
|
c41c0761b6
|
feedify: don't insert useless url when none is found
|
2015-04-06 22:15:59 +08:00 |
pictuga
|
dbc92068f0
|
feedify: explanation of methods' purpose
Kinda messy when reading code after a year
|
2015-04-06 22:11:31 +08:00 |
pictuga
|
9d64c31947
|
Feeds: use crawler.py encoding detection
|
2015-03-24 23:23:40 +08:00 |
pictuga
|
29d9e4702f
|
Force enc det to return utf-8 rather than nothing
|
2015-03-24 23:22:56 +08:00 |
pictuga
|
2e3b766a0a
|
http-server port as a var, print port on startup
|
2015-03-24 23:20:06 +08:00 |
pictuga
|
b3572e143d
|
New way of calling the program
python -m morss, python morss/main.py
|
2015-03-11 14:23:14 +08:00 |
pictuga
|
656b29e0ef
|
2to3: using unicode/str to please py3
|
2015-03-11 01:05:02 +08:00 |
pictuga
|
cbeb01e555
|
2to3: fix urllib header retrieval
|
2015-03-11 01:03:16 +08:00 |
pictuga
|
6ae60d0343
|
2to3: py3-compatible readability fork
|
2015-03-03 01:03:03 +08:00 |
pictuga
|
28bb4b8647
|
2to3: csv (with if python 3)
|
2015-03-03 00:59:33 +08:00 |
pictuga
|
2f542005d1
|
2to3: urllib host
|
2015-03-03 00:59:00 +08:00 |
pictuga
|
9bc5b0c7f7
|
2to3; ordereddict fallback was for python2.6
|
2015-03-03 00:57:09 +08:00 |
pictuga
|
dbb3883516
|
2to3: urllib mimetype
|
2015-03-03 00:55:58 +08:00 |
pictuga
|
7bd448789d
|
2to3: first attempt to fix strings
|
2015-02-26 00:50:23 +08:00 |
pictuga
|
071288015b
|
2to3: morss.py port xrange
|
2015-02-25 18:41:49 +08:00 |
pictuga
|
803d6e37c4
|
2to3: morss.py port most default libs
|
2015-02-25 18:36:27 +08:00 |
pictuga
|
327b8504c4
|
2to3: feeds.py port urllib2
|
2015-02-25 18:22:38 +08:00 |
pictuga
|
4f6f8bd41b
|
2to3: feedify.py port http-related lib
|
2015-02-25 18:16:35 +08:00 |
pictuga
|
a0f2e0d995
|
2to3: crawler.py improve except
|
2015-02-25 18:07:09 +08:00 |
pictuga
|
6a06b742f9
|
2to3: crawler.py port try as
|
2015-02-25 18:03:54 +08:00 |
pictuga
|
c2d85e2bf9
|
2to3: crawler.py port httplib
|
2015-02-25 18:02:29 +08:00 |
pictuga
|
4f224888d8
|
2to3: crawler.py port urllib2 and StringIO
|
2015-02-25 17:53:36 +08:00 |
pictuga
|
27cf8f6498
|
2to3: (iter)items to list
|
2015-02-25 12:02:53 +08:00 |
pictuga
|
3fb90cb7b4
|
2to3: local import
|
2015-02-25 11:57:10 +08:00 |
pictuga
|
47c8a511ff
|
2to3: print's
|
2015-02-25 11:57:10 +08:00 |
pictuga
|
7a66115012
|
README: use py -m morss.morss
Needed for 2to3 relative imports
|
2015-02-25 11:56:34 +08:00 |
pictuga
|
604b03e2ba
|
Delete desc when :keep=False
Still needed for Firefox, cause empty <desc/> still show up instead of content in feed preview
|
2015-02-24 00:38:34 +08:00 |
pictuga
|
83ed440e67
|
Fix issue when desc and content empty
Wouldn't put fetched article in feed
|
2015-02-24 00:38:02 +08:00 |
pictuga
|
5c23f90f0b
|
Disable options filtering by default
But still provide sample code
|
2015-02-21 02:01:32 +08:00 |
pictuga
|
149117029c
|
Improve logging of fetching errors
|
2015-02-21 01:58:45 +08:00 |
pictuga
|
d5269964fc
|
Make :theforce also bypass http errors
|
2015-02-21 01:58:16 +08:00 |
pictuga
|
f0dcb9912e
|
Fix cached errors handling
|
2015-02-21 01:57:33 +08:00 |
pictuga
|
f62aedda12
|
Double HTTP timeout
Better slow than nothing (especially when running on a personal computer)
|
2015-02-21 01:55:53 +08:00 |
pictuga
|
76c4211a04
|
Make :hungry more useful
|
2015-02-21 01:55:25 +08:00 |
pictuga
|
446dd9fb3f
|
Fix typo in FeedListDescriptor
Thanks @tehsphinx. Fixes #4.
|
2015-02-20 17:41:14 +08:00 |
pictuga
|
ef946c0712
|
XML pretty-print in separate option
Who reads plain XML anyway?
|
2015-02-20 17:38:39 +08:00 |
pictuga
|
fcf4197801
|
Populate __init__.py
|
2015-02-19 13:05:59 +08:00 |
pictuga
|
ec5f5b865f
|
Make it easy to restrict available options
|
2014-11-21 22:01:03 +01:00 |
pictuga
|
105ca67744
|
Move facebook token to own script
To a PHP script actually. Not sure why PHP. Keeps morss' code cleaner. This piece of code had nothing to do in there, and didn't bring any advantage.
|
2014-11-19 20:09:27 +01:00 |
pictuga
|
a9654ea578
|
Fix encoding detection in feedify
|
2014-11-19 12:25:18 +01:00 |
pictuga
|
8131ea2244
|
HTTPS SSL certificate validation
Specific error message added
|
2014-11-19 11:59:59 +01:00 |
pictuga
|
1b26c5f0e3
|
Split SimpleDownload in a lot of Handlers
Cleaner code, easier to edit, more flexibility. Paves the way to SSL certificates validation.
Still have to clean up the code of AcceptHeadersHandler.
|
2014-11-19 11:57:40 +01:00 |
pictuga
|
f46576168a
|
Add :mono to disable multithreading
Convenient to have linear logging
|
2014-11-10 23:14:54 +01:00 |
pictuga
|
5dd262139d
|
Add HTTP error code to download error message
|
2014-11-09 15:45:01 +01:00 |
pictuga
|
6d5bb2b3c5
|
Print error message in wgi mode
|
2014-11-09 15:44:42 +01:00 |
pictuga
|
a820cf6812
|
Run :strip in After
Makes more sense
|
2014-11-09 15:01:50 +01:00 |