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
Anders Waldenborg
b1871b3834
Add --thumbnail
...
Names thumbnails as $basename.tbn (Hi xbmc!)
2014-01-25 22:57:50 +01:00
Anders Waldenborg
9804d80302
Split subtitle getting to separate method
2014-01-25 22:57:50 +01:00
Anders Waldenborg
f331a653b6
Move url to object attribute
2014-01-25 22:57:50 +01:00
Anders Waldenborg
d6ab73679e
Improve title to filename conversion.
...
Does unicode NFD decomposition on the string before stripping non ascii chars.
This means that chars like 'ü' is decomposed into 'u' and '¨', which mean that
when non-ascii chars are dropped we will still keep the 'u'.
Fixes #60
2014-01-25 22:57:37 +01:00
Anders Waldenborg
712901cc8e
Decode html entities in title tag
2014-01-25 13:01:01 +01:00
Anders Waldenborg
06023e5b04
Add --verbose option
2014-01-25 13:01:01 +01:00
Anders Waldenborg
db426b804c
Fix slow regex for grabbing title-tag.
...
Changes regex to not allow matching overlapping matches, which
made compilation of the regex noticeable slow.
2014-01-25 13:01:01 +01:00
Johan Andersson
560145a4ff
New version 0.9.2014.01.18
...
python3 support for HDS, more viaplay sites and hd support for urplay
2014-01-18 18:56:17 +01:00
Johan Andersson
7e591c2733
get_media: dont add options.output to tmp variable
2014-01-16 20:57:30 +01:00
Johan Andersson
b14ba49f74
get_media: output to dir and get automagic name again.
...
removed it in f51d804d
. but this one is better
2014-01-16 19:46:28 +01:00
Johan Andersson
89ab7259b7
New version with for urplay
2014-01-03 16:55:56 +01:00
Johan Andersson
c7dfdcf6f5
New version with fixes for viaplay, urplay and dr.
2014-01-03 16:40:19 +01:00
Johan Andersson
959c3ad599
get_media: with this it takes forever to get the titel.
2014-01-03 12:23:44 +01:00
Johan Andersson
33bb2c5c13
Replace sys.version_info with pyX
2013-12-30 01:35:08 +01:00
Johan Andersson
b09fc7b319
get_media: remove html entities in titel
2013-12-30 01:12:38 +01:00