Laurent Bachelier
2c6d5d4e70
Fix previous commit on domain checking of id2url
...
* the condition on empty self.DOMAIN didn't work
* it introduced a regression as subdomains were accepted by the old code
2011-04-22 10:37:30 +02:00
Laurent Bachelier
7bf794b7e5
Add missing fillobj() call on get_object
...
fillobj was only called when getting previously fetched objects in
interactive mode.
This probably wasn't detected because most get_* backend functions
usually fill a lot of fields by themselves.
2011-04-21 22:59:30 +02:00
Laurent Bachelier
4d8030b8dd
Add check_url decorator, remove check_domain
...
check_domain was not used anywhere and was bugged (the domain argument
was ignored in favor of self.DOMAIN).
The check_url decorator checks if the URL can be handled, if not it will
return None. The idea is to avoid making unnecessary requests.
2011-04-21 22:18:17 +02:00
Laurent Bachelier
619b97669d
Enhance domain checking of url2id
...
* Do not check for the domain if it is empty in the Browser class
* Better check of the domain (actually parse the URL domain)
* Add docstring
2011-04-21 20:15:18 +02:00
Romain Bignon
7098e44d9b
use CapResources for radios
2011-04-21 12:07:37 +02:00
Laurent Bachelier
31b4892c48
Add support for https in the id2url decorator
2011-04-21 11:03:01 +02:00
Romain Bignon
c28d5a99c1
factorize ls and cd in ReplApplication
2011-04-21 11:01:50 +02:00
Nicolas Duhamel
0f53a02947
Introduce tostring function
2011-04-20 09:26:33 +02:00
Nicolas Duhamel
82afb34f7a
Use Path object
2011-04-20 09:26:33 +02:00
Nicolas Duhamel
6b3ac71621
mediaplayer fix license
2011-04-20 09:26:32 +02:00
Nicolas Duhamel
8671361ede
fix mediaplayer
2011-04-20 09:26:32 +02:00
Christophe Benz
a329bd3d1e
Remove fragment from URLs ( closes #636 ).
2011-04-14 16:19:51 +02:00
Laurent Bachelier
e5597424fc
Add an option to change the default factory
...
Changing the factory is the recommended method in the FAQ for handling
invalid HTML.
2011-04-14 16:19:50 +02:00
Laurent Bachelier
92fc86a033
Add support for xpath in LxmlHtmlParser.select
...
The returned results are similar to those of the cssselect method
so there wasn't much to do except calling it.
2011-04-12 01:00:28 +02:00
Laurent Bachelier
39bfdade27
Use the lowercase http_proxy environment variable
...
The 'correct' way is to have it lowercase, though there is a lot of
confusion around it.
2011-04-09 15:40:23 +02:00
Romain Bignon
9afb301ebe
move select() in parser
2011-04-09 11:25:13 +02:00
Romain Bignon
7e2bb91b3b
change license to AGPLv3+
2011-04-08 12:48:07 +02:00
Romain Bignon
3aa286fb94
factorize code to check loaded backends
2011-04-05 08:45:15 +02:00
Juke
4515541639
new backend ecrans ( closes #591 )
2011-03-25 23:31:43 +01:00
Juke
18281b2013
change user agent ( closes #580 )
2011-03-22 21:48:39 +01:00
Romain Bignon
9e6153a16c
new function 'limit' to limit the number of iterations
2011-03-21 13:34:32 +01:00
Romain Bignon
7b61871f51
Do not use retry() with 404 errors
2011-03-19 11:24:52 +01:00
Laurent Dufréchou
86937aef95
Modifications to support boobank under win32
...
Signed-off-by: Romain Bignon <romain@peerfuse.org>
2011-03-17 11:55:46 +01:00
Romain Bignon
63c4a09a0d
fix backends list displayed on first load
2011-03-14 18:42:04 +01:00
Romain Bignon
99785b5a4d
open stty in a shell
2011-03-14 17:34:48 +01:00
Bluebird75
3f40fb2de7
- use an OS independant way of identifying base module directory - use a more portable way of reading stty output
2011-03-14 17:19:53 +01:00
Juke
4951603c73
fix empty article
2011-03-10 16:01:35 +01:00
Romain Bignon
bafbf3644a
use IFormatter.(BOLD|NC) on every formatters
2011-03-09 09:26:55 +01:00
juke
480e53cb00
no bold when -O
2011-03-09 09:26:02 +01:00
Romain Bignon
ea1dd01520
upgrade firefox from 3.0.3 to 3.6.13
2011-03-07 17:50:54 +01:00
Juke
397b5875f1
factorise
2011-03-07 16:25:57 +01:00
Romain Bignon
4a7a90cb46
remove the 'refresh' feature from Browser
2011-03-06 09:58:38 +01:00
juke
4b10f67058
add new categories
2011-03-06 09:14:10 +01:00
Romain Bignon
d6cb3f78ed
fix call to bcall_error_handler() on mother class
2011-03-05 23:56:47 +01:00
Romain Bignon
2ba3f46f3b
split ReplApplication to create ConsoleApplication
2011-03-05 21:55:20 +01:00
Romain Bignon
bd7809f22e
checks on given backends for 'backends <add|register>' subcommands
2011-03-01 11:06:39 +01:00
Romain Bignon
a33c15e2e3
fix when uri is empty ( closes #488 )
2011-03-01 08:20:41 +01:00
Romain Bignon
7bf2c007ff
fix missing import of with_statement
2011-02-28 10:51:05 +01:00
Romain Bignon
01fcd0bed9
fix when trying to add an already existing backend
2011-02-26 18:28:43 +01:00
Romain Bignon
3ca779c8ca
change default size of box
2011-02-26 11:19:33 +01:00
Romain Bignon
a84b3ea5a3
remove the useless '--to_file' parameter on boobmsg
2011-02-26 10:27:38 +01:00
Juke
1382b50a7d
cleaner solution to output to a file
2011-02-25 18:49:23 +01:00
Romain Bignon
09bb78258a
absurl() method to build an url in form protocol://domain/path with constant values of Browser
2011-02-24 21:35:32 +01:00
Romain Bignon
8012afe847
replace 'url2id' predicate with 'rssid'
2011-02-24 21:34:32 +01:00
Juke
5a7ae0a5bd
move genericArticle to tools
2011-02-21 23:31:38 +01:00
juke
6a40375b6a
boobmsg can export to a file closes #490
2011-02-15 12:31:40 +01:00
juke
23009fe4a9
use stdout in format() closes #469
2011-02-11 18:52:08 +01:00
Juke
87bf1f0d58
PEP 8
2011-02-11 14:15:38 +01:00
Juke
73e7d50e7f
use stderr closes #470
2011-02-10 17:16:07 +01:00
Johann Broudin
21a7ab33cb
Correct an error in the description of the function buildurl
2011-02-07 14:15:32 +01:00