Commit graph

91 commits

Author SHA1 Message Date
Laurent Bachelier
2c633a43c8 boobot: Faster timeouts
This requires running the development version of Weboob.
2013-05-14 10:39:03 +02:00
Laurent Bachelier
cc8f3d6de1 boobot: More urlfix features 2013-05-14 10:39:03 +02:00
Laurent Bachelier
9b5b0dcf8b boobot: Do not quote the semicolon 2013-05-14 10:39:03 +02:00
Laurent Bachelier
1eedc55344 boobot: Better HEAD errors 2013-05-14 10:39:03 +02:00
Laurent Bachelier
ac51c1fb99 boobot: Fix encoding replacement 2013-05-14 10:39:03 +02:00
Laurent Bachelier
3710bb87ae boobot: Support servers with no HEAD 2013-05-05 21:23:30 +02:00
Laurent Bachelier
bba7898561 boobot: Ignore NBSP in URLs 2013-05-05 21:10:15 +02:00
Laurent Bachelier
8825072829 boobot: Better newline handling 2013-05-05 20:53:21 +02:00
Laurent Bachelier
1b2031796b boobot: Force shitty Windows encoding
Because web browsers actually do that!

Test URL: http://www.universfreebox.com/article/20715/Deutche-Telekom-met-fin-a-l-internet-illimite-bientot-le-tour-de-la-France
2013-05-05 20:43:58 +02:00
Laurent Bachelier
ab7287747a boobot: Guess page encoding
This seems to work with most pages.
2013-05-05 20:40:51 +02:00
Laurent Bachelier
45151afa3e boobot: Fix weird/unicode URLs
http://stackoverflow.com/questions/1916684/cant-open-unicode-url-with-python
2013-05-05 20:05:45 +02:00
Laurent Bachelier
2f9a50c754 boobot: Support multiple channels, refactoring
It should handle the various URL failures in a better way.
2013-05-05 19:15:51 +02:00
Florent Fourcot
1161874362 Fix SMS regexp 2013-04-25 12:56:42 +02:00
Laurent Bachelier
99eaa87db9 boobot: Display regular URL info 2013-04-20 11:56:00 +02:00
Laurent Bachelier
58a37c3bfb boobot: irc 5.0+ compatibility
It should still work with older versions
2013-04-13 23:14:57 +02:00
Laurent Bachelier
ec4f934fee boobot: Style fixes 2013-04-13 23:14:44 +02:00
Laurent Bachelier
60c097a389 boobot: Proper freenode server name 2013-04-13 23:14:08 +02:00
Romain Bignon
fb3d2655a9 support python-irclib >= 3 and minor changes 2013-04-11 20:32:33 +02:00
Laurent Bachelier
c157557501 Use new-style classes 2013-04-03 19:04:55 +02:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Laurent Bachelier
be3e19a203 try/except import are now handled by flake8 2.0+ / pyflakes 0.6+ 2013-03-19 19:10:20 +01:00
Laurent Bachelier
e0542c2e4a Fix comparisons to None
Diff checked manually.

autopep8 -a -ir -j2 --select=E711 .

This required the "agressive" option because it can change code
behavior.
2013-03-16 00:57:30 +01:00
Laurent Bachelier
7094931c92 Easy spacing fixes, trailing stuff
Remove useless trailing \
Remove trailing spaces
Add missing empty lines

autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 .

Diff quickly checked.
2013-03-16 00:54:55 +01:00
Laurent Bachelier
c21d1f7925 Code clarity fixes
autopep8 -ir -j2 --select=E303,E125
Diff checked manually.
2013-03-16 00:52:43 +01:00
Florent
1a72642fa8 A picture is sometime better than 1000 words 2013-03-04 13:39:09 +01:00
Florent
2e1551f426 Fix regression insert by exclude option 2013-03-04 13:33:02 +01:00
Florent
cee13a9be8 Introduce env.exclude 2013-03-02 10:31:34 +01:00
Florent
bbfaac15f6 Copy example from reals configurations 2013-03-02 10:31:34 +01:00
Florent
3a0a8969e9 Fix encoding of title and vlabel 2013-03-02 10:31:34 +01:00
Florent
a41d1a70ee Fix bug in test.sh 2013-03-02 10:31:34 +01:00
Florent
f756189417 Add an example in test.sh 2013-03-02 10:31:34 +01:00
Florent
35b1df511a Take the first element of an list
And fix encoding issue
2013-03-02 10:31:33 +01:00
Florent
4ed99f75bb Always more examples 2013-03-02 10:31:33 +01:00
Florent
98b847664c A new example 2013-03-02 10:31:33 +01:00
Florent
d4ffbf8c1f More documentation 2013-03-02 10:31:33 +01:00
Florent
fecc040148 Add a README with examples 2013-03-02 10:31:33 +01:00
Florent
78bea66884 Allow to get attributs on more than one levels
Add an example for that
And fix minors bugs
2013-03-02 10:31:33 +01:00
Florent
ea46631f0a Add a generic munin plugin
See test.sh for examples
2013-03-02 10:31:33 +01:00
Florent
c15a195ea1 Add utf-8 support on title_exclude
And fix configuration example since it is case sensitive
2013-02-28 15:35:56 +01:00
Florent
af3c64549e No reason to not exclude on case sensitive pattern 2013-02-28 15:08:08 +01:00
Fabien Grumelard
a43a01a5cf Add a "id_regexp" parameter to filter results on video id
Signed-off-by: Fabien Grumelard <fabix-symlink@grumi.net>
2013-02-08 14:15:11 +01:00
Florent
bf3132e8c0 bump to 0.f 2013-01-25 17:23:49 +01:00
Grmbl Frechneu
ffaf96fa9e Small script to anonymise data in bug report 2013-01-11 14:14:36 +01:00
Florent
7a44f62d2c Print all labels in config mode and stack results 2013-01-10 16:01:14 +01:00
Romain Bignon
e18c198db3 'exclude' parameter is case insensitive 2012-12-24 12:55:53 +01:00
Romain Bignon
df1652f25f correctly create symlink and support when one is removed
- when a video is downloaded, create immediately a symlink
- if a symlink is removed, empty the downloaded file to free space on disk
2012-12-23 20:39:21 +01:00
Laurent Bachelier
541d080c9d Use flake8 if available instead of pyflakes
With flake8, we can check for more issues and ignore those who are not
real issues.

This allowed me to find genuine errors in:
- modules/boursorama/pages/account_history.py
- modules/ing/pages/login.py
- weboob/tools/application/qt/qt.py
I left one in weboob/tools/browser/browser.py for the time being.

Some PEP8 fixes on other files.
2012-11-24 19:46:34 +01:00
Romain Bignon
c65a31369d fix encoding issue 2012-11-12 09:01:33 +01:00
theo
cf60351830 Add -e to rtmpdump options
Adding -e to rtmpdump.

So instead of:
    rtmpdump -r <url> -o <file>
we will have
    rtmpdump -e -r <url> -o <file>

If <file> doesn't exist, it will be created. So the -e switch doesn't
change anything.

If <file> alredy exists, then rtmpdump will try to complete a previous
download.

That way, if videoob download <id> fails, running the command again
will complete the download without starting again from scratch.
2012-11-06 01:13:45 +01:00
Romain Bignon
4a1e4b5afa bump to 0.e 2012-10-28 20:39:49 +01:00