1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-28 06:04:17 +01:00
Commit Graph

112 Commits

Author SHA1 Message Date
Johan Andersson
3497e0577d Rewrite how we detect already downloaded files
this will also check if we already downloaded
the files if we already have it or not
2021-05-09 02:13:13 +02:00
Johan Andersson
10e365f695 pyupgrade fixes 2021-04-27 19:44:09 +02:00
Johan Andersson
c1bfd0fc11 subtitle: stpp support
this is used in dash
2021-03-13 15:17:29 +01:00
Johan Andersson
6ef5d61c37 subtitle: fix spelling mistake
Co-authored-by: bartdedecker
fixes: #1339
2021-03-13 00:53:42 +01:00
Johan Andersson
cb3612b313 viafree: they have m3u8 subtitles in json
For some reason they got some bad data in the first file that we need to skip
fixes: #1332
2021-03-05 00:42:27 +01:00
Johan Andersson
4ec553e0ed Add py3.6 changes 2021-02-28 22:05:33 +01:00
Johan Andersson
938ae7d9b9 pre-commit: add-trailing-comma 2020-12-31 15:19:22 +01:00
Johan Andersson
4e187f9553 pre-commit: its a good thing to commit config... 2019-09-06 22:49:49 +02:00
Johan Andersson
3aef9a796e black fixes 2019-09-06 22:31:52 +02:00
Johan Andersson
7f0cf6eb82 pre-commit: reorder imports 2019-09-06 22:09:07 +02:00
Johan Andersson
e9b16fda77 pre-commit: pyupgrade 2019-09-06 22:09:07 +02:00
Johan Andersson
e105855fb7 pre-commit: black fixes 2019-09-06 22:09:07 +02:00
Johan Andersson
93088a76cc subtitle: dont read another byte if bom
fixes: #1124
2019-08-22 07:57:40 +02:00
Johan Andersson
f429cfc634 Remove unused import 2019-08-20 15:56:49 +02:00
Johan Andersson
3dc2cf5079 subtitle: encode the text to utf-8
this will be the same on windows and *nix

fixes: #1119
2019-08-20 15:49:38 +02:00
Johan Andersson
d33186e54e wrstsegments: fix sync issues
Fixes: #1063
2019-04-13 17:45:29 +02:00
Johan Andersson
60c043da62 wrstsegments: fix so we handle newlines better
Fixes: #1050
Fixes: #1038
2019-04-08 23:21:59 +02:00
Johan Andersson
36116c7a3b Remove old logging 2018-11-18 12:47:19 +01:00
Johan Andersson
d5a1ec1197 subtitle.sami: in some cases they have extra xml code in Text element
fixes: #990
2018-11-02 00:38:39 +01:00
Johan Andersson
ca295d461d flake8: new version detecting more stuff 2018-10-28 23:16:00 +01:00
Johan Andersson
4fbf861985 subtitle.wrst: add translation of names to hex
fixes: #963
2018-10-28 20:47:41 +01:00
Johan Andersson
1e72958dc4 subtitle.sami: handle characters in squeeze number.
Fixes: #987
2018-10-28 14:17:27 +01:00
Kristoffer Hallqvist
0c1ccf9c51 Added leading space in line comment 2018-10-01 22:02:39 +02:00
Kristoffer Hallqvist
1d716d5963 Ignores unexpected empty lines in subtitle format 2018-10-01 22:02:39 +02:00
Johan Andersson
3ad8c509f9 subtitle: wrstsegment is ten second off 2018-07-12 00:52:19 +02:00
Johan Andersson
6a324ed319 subtitle: missing whitespace around arithmetic operator 2018-07-10 23:00:44 +02:00
qnorsten
6813862727 Fix timecodes for segmented subtitles 2018-07-10 22:55:01 +02:00
Johan Andersson
9b839dfaf4 subtitle.wrst: tv4play split their wrst into several .m3u8 files
it have some dupe codes. that we need to fix in the future....
2018-07-05 01:26:43 +02:00
Johan Andersson
bfe7089c58 subtitle: Add subfix after episodename if we want to download all subtitles. 2018-05-27 15:55:25 +02:00
Johan Andersson
09eac51d6c subtitle: remove unused cookies variable 2018-05-13 13:18:29 +02:00
Johan Andersson
1b1cde811c subtitle: use config instead of options 2018-05-13 13:09:27 +02:00
Johan Andersson
92763977ed subtitle: better represent line 2018-05-13 13:08:27 +02:00
Johan Andersson
f300e24ca3 more options to config replaces 2018-05-13 13:07:34 +02:00
Johan Andersson
ca49366002 Options to config 2018-05-13 13:06:45 +02:00
Johan Andersson
a051418dab utils: move functions out of init to its own files. 2018-05-13 12:10:19 +02:00
Johan Andersson
903a4ae71d No need for utils.io 2018-05-13 12:09:27 +02:00
Johan Andersson
b8c1163852 remove a bunch of is_py. time for py3. 2018-05-13 12:08:11 +02:00
Johan Andersson
083188f8ac subtitle: we need to tell requests to use utf8 for encoding 2018-02-21 21:29:21 -05:00
Johan Andersson
7b6ceb4737 Flake8 fixes 2018-01-30 20:17:33 +01:00
Johan Andersson
aae1c878bb subtitle: tv4 subs have a bom headers. 2017-09-17 11:21:04 +02:00
Johan Andersson
e232001003 subtitle.wsrt: urplay only had minutes and seconds
fixes #639
2017-06-05 17:31:47 +02:00
qnorsten
a9e1e92ba2 subtitle: use decode_html_entities function
use decode_html_entities to decode html entities
2017-03-23 11:43:15 +01:00
qnorsten
a310ceb2a1 Subtitles: Smi-subtitles updated regex to also remove <div tags> 2017-03-21 09:49:36 +01:00
qnorsten
f963b5f755 Subtitles: Smi subtitles, do not remove <i> and replace &nbsp; with space
fixes https://github.com/spaam/svtplay-dl/issues/581
2017-03-21 00:32:46 +01:00
Johan Andersson
18a9a1bcf5 subtitle: dont double encode utf8
fixes: #507
fixes: #501
2016-12-05 20:45:14 +01:00
Johan Andersson
ec0f2a4feb subtitle: use HTTP from utils instead of requets. 2016-12-05 19:55:04 +01:00
Johan Andersson
b08d593556 subtitle: don’t crash if we cant download subtitle
show a warning that we cant download it.
2016-11-14 21:51:39 +01:00
Linus Karlsson
c436e4c381 subtitle.tt: fix error when calculating end time. 2016-11-01 23:19:54 +01:00
Johan Andersson
b4768ef2f1 subtitle.sami: don’t try to decode None
fixes: #477
2016-10-17 21:40:20 +02:00
Johan Andersson
31aaf468c0 subtitle: decode some htmlentities in sami
fixes #421
2016-08-01 21:02:38 +02:00