Johan Andersson
d8b2b8efa6
timestr: leading zero in single digit
2016-06-03 00:09:11 +02:00
Johan Andersson
10a259982e
smi: it should be three decimals and not two
...
this fixes #398
2016-06-01 22:54:11 +02:00
Johan Andersson
c0b4d278b4
sami: dont crash on &
...
this fixes #396
2016-06-01 22:43:39 +02:00
qnorsten
156d60f8de
Fixed missing space error
2016-04-27 19:41:23 +02:00
qnorsten
428d4c5022
Some minor code improvments
2016-04-27 19:37:32 +02:00
qnorsten
56e07188ee
Added support for subfix in filename of subtitles, when several languages are available
...
Added command to download all available subtitles for a video (--all-subtitles)
Added support to print all the subtitle urls when the get url parameter is used
Fixed so subtitle url and stream url get printed if -S and -g but not --force-subtitles parameter is used
Added support for downloading all subtitles and auto subfix them with language name for Urplay and Urskola (even when just one subtitle is downloaded)
2016-04-27 10:37:47 +02:00
Johan Andersson
4d392d6664
subtitle: strip line endings
2016-04-20 18:42:46 +02:00
Johan Andersson
cd75cd5b63
subtitle.tt: dont crash on negative milliseconds.
2016-02-08 21:28:39 +01:00
Johan Andersson
3f04ae2a56
swap place on py2 and py3 checks
2016-01-27 19:49:38 +01:00
Johan Andersson
e1cb21c20a
subtitle: raw type
2015-10-30 00:51:35 +01:00
Johan Andersson
8129a49348
subtitle: we need to tell the file is utf-8 on windows and py3
2015-10-25 17:19:16 +01:00
Johan Andersson
e188ca8f56
subtitle_smi: encode it as iso-8859-1
...
this fixes #282
2015-10-20 00:49:20 +02:00
Johan Andersson
38f18d5eed
subtitle_tt: remove namespace info
2015-10-10 16:31:42 +02:00
Johan Andersson
79c7f82881
subtitle: only convert when its unicode
2015-09-20 16:03:07 +02:00
Johan Andersson
3afb8aa490
subtitle: workaround a bug in requests in ubuntu 14.04 LTS
...
2.2.1 cant convert string from bytes to text right.
fixes #259
2015-09-20 15:15:50 +02:00
Johan Andersson
dc2cc0294c
pip8. expected 2 lines found 1
2015-09-15 20:10:32 +02:00
Johan Andersson
614c9b8ae5
subtitle_wsrt: decode html entities
...
fixes #255
2015-09-01 22:54:32 +02:00
Johan Andersson
6883f31550
subtitle: python3 fixes
2015-08-31 23:19:01 +02:00
Johan Andersson
724af70f49
subtitle: open as text and save it
2015-08-31 22:46:45 +02:00
Johan Andersson
331de0a70f
replace self.http.get with our own function with debug info
2015-08-31 19:45:15 +02:00
Johan Andersson
84ee181f5b
adding request support.
...
still need some more work
2015-08-30 00:06:20 +02:00
Johan Andersson
63eee40e49
subtitle_wrst: check against int instead of str
...
this fixes #240
2015-06-07 20:10:36 +02:00
Johan Andersson
7950e06e0d
smi: check if data is empty
2015-05-01 22:34:02 +02:00
Johan Andersson
c95c51fa5d
subtitle: missing r-prefix
2015-04-28 23:16:44 +02:00
Johan Andersson
7ed21ae16b
smi: Handle subtitle that starts direct after the previous one.
...
this fixes #225
2015-04-28 23:00:24 +02:00
Johan Andersson
26a5db7a6e
wrst: don’t encode the data to utf8 on python3
2015-04-28 22:59:07 +02:00
Johan Andersson
e449d8c471
subtitle: py3 fixes
2015-03-12 21:39:36 +01:00
Johan Andersson
abd38b55ea
subtitle: smi py3 fixes
2015-03-12 21:33:55 +01:00
Johan Andersson
ec7356aeea
subtitle: rewrite wrst function
2015-03-01 21:44:55 +01:00
Johan Andersson
8f89b00c5e
unused imports
2015-01-25 14:41:29 +01:00
Johan Andersson
a84dd4077f
pylint fixes
2015-01-05 21:52:34 +01:00
Johan Andersson
fb31725ccd
subtitle: use output function instead of the special one for this class.
2014-12-30 21:20:03 +01:00
Johan Andersson
d7d8297811
pylint fixes
2014-12-26 02:04:29 +01:00
Johan Andersson
ef3890d9ec
missing r prefix in regex matches.
2014-12-22 10:20:37 +01:00
Johan Andersson
7d9d2c7680
sami: they started to use : instead of ,
2014-12-15 22:19:58 +01:00
Johan Andersson
a2f66186d4
smi: broken regex is broken.
2014-12-15 22:06:24 +01:00
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
dcc1367250
subtitle: refactor so we can reuse the try-except-thing
2014-11-25 19:03:23 +01:00
Johan Andersson
524fe2ce0c
subtitle: catch http errors.
2014-11-25 19:03:23 +01:00
Johan Andersson
65143fb9f7
subtitle_json: only convert to utf8 on py2
2014-11-25 19:02:50 +01:00
Johan Andersson
d836c438b1
subtitle_smi: Empty subtitles.
...
this fixes #180
2014-11-23 13:04:05 +01:00
Johan Andersson
75c508292e
kanal5: Send the cookies to subtitle.
...
super hack workaround for #178
2014-11-16 22:09:16 +01:00
Johan Andersson
9de3961c0b
subtitle: show a warning if subtitle exists.
2014-08-23 13:33:38 +02:00
Johan Andersson
329d149d29
subtitle: inherit from object
2014-07-28 15:53:23 +02:00
Johan Andersson
7d54cff825
subtitle_tt: rewrote the function.
...
this fixes #111
2014-07-09 18:39:18 +02:00
Johan Andersson
bddcbabd0b
subtitle_wsrt: it should be --> and not ->
2014-06-07 21:56:28 +02:00
Johan Andersson
e94f2a74b7
subtitle_wrt: set the right variable to True.
2014-06-07 18:54:51 +02:00
Johan Andersson
53b521248f
subtitle_wsrt: subtract 10 hours when it begins at >9 hours.
...
This fixes #101
2014-06-07 18:51:29 +02:00
Johan Andersson
dbf320d9be
subtitle: we only need one save function.
2014-06-02 21:27:50 +02:00