Johan Andersson
67b3c8bb54
Rewrite http request handling.
2014-12-08 23:07:02 +01:00
Johan Andersson
e94975b256
subtitle: support for cookies
2014-11-25 19:03:24 +01:00
Johan Andersson
8ceb3ea56d
More rewrite
2014-11-25 19:03:24 +01:00
Johan Andersson
dcc1367250
subtitle: refactor so we can reuse the try-except-thing
2014-11-25 19:03:23 +01:00
Johan Andersson
db5b7dd15e
main: improve quality help text
2014-11-25 14:34:43 +01:00
Göran Gustafsson
b3811e7409
Menu fix
2014-11-23 10:31:33 +01:00
Johan Andersson
52c3ce8977
New version 0.9.2014.11.16
2014-11-16 22:11:18 +01:00
Johan Andersson
e03e9cfc36
New version 0.9.2014.10.23
2014-10-23 00:06:00 +02:00
Johan Andersson
72e8a9f484
New version 0.9.2014.10.13
2014-10-13 00:19:26 +02:00
Johan Andersson
dc46471108
get_one_media: Don’t try downloading files when we can’t find any.
2014-10-12 23:53:42 +02:00
Olof Johansson
b59f413a22
Fix syntax error caused be recent change to log fmt
2014-10-12 23:41:44 +02:00
Olof Johansson
e05a7cd211
Get rid of some unnecessary thumbnail related output
...
Also, this change also makes svtplay-dl print an error if thumbnail was
requested but we write to stdout (--output -).
2014-10-12 21:30:33 +02:00
Olof Johansson
f739faca40
Get rid of some indentation by inverting conditionals
2014-10-12 21:29:04 +02:00
Olof Johansson
fb0168033d
Log what protocol/bitrate we selected
2014-10-12 21:27:33 +02:00
Olof Johansson
1796a14007
logging: print log level name first on line when verbose
2014-10-12 21:27:28 +02:00
Johan Andersson
2a472cbf67
main: change help message for resume
2014-10-06 23:04:14 +02:00
Johan Andersson
619435eff1
get_media: create dir when it does not exists.
...
if we output to a nonexistent directory, create it.
this fixes #131
2014-09-21 20:30:28 +02:00
Johan Andersson
ef4c79256d
New version 0.9.2014.08.28
...
Way to long since last release..
2014-08-28 19:47:39 +02:00
Johan Andersson
7f7d79a3db
output: Don’t download the file if we already have it for some other fetcher
2014-08-27 22:40:31 +02:00
Johan Andersson
79b9c15977
init: removing unused imports.
2014-08-19 15:21:27 +02:00
Johan Andersson
4209f14e26
Fixing some more warnings.
2014-08-12 00:15:46 +02:00
Johan Andersson
ec3e8fb131
Fixing some landscape.io warnings
2014-08-12 00:08:51 +02:00
Johan Andersson
ebe21c49c5
get_one_media: override filename if it is set automagic
2014-08-11 21:24:35 +02:00
Johan Andersson
c19ba14e4c
options: sync options from options parser
2014-08-11 21:00:19 +02:00
Olof Johansson
6719cd0e15
svtplay_dl: remove unnecessary pass statement
...
(Reported by pylint)
2014-07-22 09:36:33 +02:00
Johan Andersson
52a18ee7ca
main: better help text to -H and -P
2014-07-13 16:06:35 +02:00
Johan Andersson
a52fbe6985
select_quality: move preferred option to get_one_media
2014-07-13 16:03:03 +02:00
Johan Andersson
0caf19b309
main: better help text for live flag.
2014-06-24 22:56:12 +02:00
Johan Andersson
402fca5bfc
get_one_media: display error message when we can’t find any videos.
2014-06-23 21:24:34 +02:00
Johan Andersson
b4638d0bb7
get_one_media: show an error message when we cant find any streams
2014-06-18 21:10:05 +02:00
Johan Andersson
3f4bdd58d8
service: copy options to fetcher
2014-06-07 20:48:54 +02:00
Johan Andersson
e87c236c51
option to choose which download method is preferred.
2014-06-02 21:27:51 +02:00
Johan Andersson
3398c8f14c
get_one_media: force stop when --force-subtitle is used
2014-06-02 21:27:50 +02:00
Johan Andersson
a857f1d906
get_one_media: select quality
2014-06-02 21:27:50 +02:00
Johan Andersson
895623f601
__init__: support for yield
2014-06-02 21:27:49 +02:00
Olof Johansson
24750ed1d6
Print newline after Ctrl+C
...
Fixes #93 .
2014-05-02 12:07:37 +02:00
Johan Andersson
fb82005658
New version 0.9.2014.04.27
2014-04-27 09:06:47 +02:00
Johan Andersson
fd35357de0
We should catch KeyboardInterrupt in __init__.py
...
We don't catch it if someone install it via setup.py with the old fix.
2014-04-02 19:32:35 +02:00
Johan Andersson
5449e26766
New version 0.9.2014.04.01
2014-04-01 19:21:50 +02:00
Johan Andersson
0659214816
get_one_media: This will fix #80 .
...
the problem is that c:\test will became c:_tab_est and that is a wrong
filename. because \t is tab.
2014-03-24 21:54:03 +01:00
Johan Andersson
5e1e6dbbc9
subtitle: a way to download only subtitle.
2014-03-21 21:01:00 +01:00
Olof Johansson
f5aceffad7
svtplay_dl: silence pylint warning when using % with log
2014-03-19 23:03:31 +01:00
Johan Andersson
ebbbef85c5
get_media: change order on Generic and service_handler
...
Generic is now a fallback if we can't find any site that handles the url.
bonus with this is one less fetch of data at the beginning if we have
a site that handles that url.
2014-02-23 11:52:22 +01:00
Anders Waldenborg
6799899bcf
Add --all-episodes option (for svt only currently)
2014-02-18 19:00:20 +01:00
Anders Waldenborg
baa8d76551
Add get_urldata() method to service
...
self.get_urldata() is eqivalent to get_http_data(self.url), but
also caches the data, so no additional requests are made if it
is called multiple times (e.g when grabbing title or downloading
thumbnail).
Generic().get(url) still causes it to be fetched an extra time.
2014-02-18 19:00:20 +01:00
Anders Waldenborg
5fe5eb40f2
Fix automatic filename generation when output is a directory
2014-02-18 18:59:18 +01:00
Johan Andersson
35827e7e6e
New version 0.9.2014.02.15
2014-02-15 11:33:25 +01:00
Olof Johansson
f695063307
Reraise UIExceptions when called with --verbose
2014-02-11 18:46:54 +01:00
Olof Johansson
b9107b20b6
hls: Error on live streams
...
This can be overriden using the --force flag, but the output may
be a bit disappointing --- only the current state of the HLS
playlist is downloaded, and no reload is attempted.
2014-02-11 18:46:53 +01:00
Olof Johansson
045ef96252
logging: adjust message format, <level>: <message>
2014-02-11 18:46:53 +01:00