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

106 Commits

Author SHA1 Message Date
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
Johan Andersson
f8f25cf2a4 Merge remote-tracking branch 'qnorsten/master' into qnorsten 2016-07-24 12:15:11 +02:00
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
24a1789949 subtitles: --convert-subtitle-colors command added to convert color information in wsrt subtitle files to <font color=""> tags. 2016-05-09 15:10:58 +02:00
qnorsten
a774a8052b Merge branch 'master' of https://github.com/spaam/svtplay-dl.git into rawsubs
# By Johan Andersson (7) and qnorsten (4)
# Via Johan Andersson (2) and qnorsten (1)
* 'master' of https://github.com/spaam/svtplay-dl.git:
  urplay: dont crash when there is no label
  twitch: Fix so we can get live url again
  fetcher: dont print newline when its silent
  main: add dash in the help text for preferred
  tv4play: free videos with premuim showed up as None
  tv4play: fix unicode errors in showname
  Fixed missing space error
  Some minor code improvments
  postprocess: ext includes dot before fileextention
  Updated gitignore
  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-05-03 22:43:57 +02:00