Florent
3914d76287
s/dev\/null/os.devnull + add binary flag
...
For windows compatibility
2015-09-08 08:43:04 +02:00
Laurent Bachelier
6161a0aacd
pep8 fixes, modernizations
...
autopep8 -a -r -i --select E711,E712,W601,W602,W603,W604,W690,E304,E401,E502 .
Also includes some manual reindentations (many are left after the print()
changes).
Manually checked, some modernizations not commited here.
2014-10-10 23:41:43 +02:00
Laurent Bachelier
74a4ef6723
Use the print function everywhere
...
python modernize.py --no-six -f libmodernize.fixes.fix_print -w
With manual fixes as the import was put always on top.
2014-10-06 17:00:17 +02:00
Florent
9f8d866a80
s/ICap/Cap in contrib
2014-07-07 16:09:25 +02:00
Florent
58b51a4b77
Print help instead of crash
2013-09-18 16:28:36 +02:00
Romain Bignon
3900818482
fix call to ICapVideo.search_videos (API changed)
2013-08-06 22:43:17 +02:00
Laurent Bachelier
c157557501
Use new-style classes
2013-04-03 19:04:55 +02: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
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
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
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
61f167bfde
pyflakes fixes
2012-10-27 15:45:28 +02:00
Alexandre Flament
1032e66df5
add script contrib/downloadboob ( closes #838 )
2012-10-27 13:13:18 +02:00