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

203 Commits

Author SHA1 Message Date
dalgr
838b3ecc23 Live download not working from SVTBARN, fix #1121, #1122 2019-08-31 14:57:24 +02:00
Johan Andersson
a84b89bafd Rewrote big parts of the _dashparser 2019-07-13 14:31:13 +02:00
Johan Andersson
c4bf81fa9e hls: move cryptography to top imports. 2019-03-24 21:04:41 +01:00
Johan Andersson
05c322a52a hls: don’t finalize after we decrypt the data.
In cases where we have several keys in a stream we can run finalize on the data.
2019-03-23 02:36:01 +01:00
Johan Andersson
ecaced7b5c dashparse: use == compare ints.. 2019-03-23 02:02:11 +01:00
Johan Andersson
feb503e013 daskparse: search for contentType on adaptationset instead of mimype
Svtplay stopped using mime type on adaptionset.
Fixes: #1054
2019-03-23 01:20:56 +01:00
Johan Andersson
5b6779edf2 Replace pycryptodome with cryptography.
This will make it easier to support older distros. For example ubuntu 16.04 and Debian stable (9)
2019-03-23 01:00:44 +01:00
Johan Andersson
f47e729c01 fetcher.http: if we can detect its mp3, use that as extension. 2019-01-09 21:34:21 +01:00
Johan Andersson
36116c7a3b Remove old logging 2018-11-18 12:47:19 +01:00
Johan Andersson
74f68a535b fetcher.rtmp: RIP. Who use flash in 2018 anyway.
Removing old RTMP and related code.
qbrick is not used anyway.
2018-11-12 19:05:41 +01:00
Johan Andersson
ca295d461d flake8: new version detecting more stuff 2018-10-28 23:16:00 +01:00
Johan Andersson
bd73466265 fetcher.http: rename options to config 2018-10-28 22:36:22 +01:00
Johan Andersson
a72d8e4e3c hls.download: when we see key url as skd:// abort 2018-10-13 13:53:10 +02:00
Johan Andersson
5ac273dc47 dash.parse_dates: add a new time of date format.. 2018-10-06 23:17:45 +02:00
Johan Andersson
72591c20f0 dashparse: split the function into two 2018-10-06 23:17:19 +02:00
Jakob Schlyter
57e51c8bb1 parse date periods with hours and seconds only 2018-09-05 21:37:38 +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
a0ab26a939 utilis.http: move get_full_url from hls to http 2018-07-05 01:26:43 +02:00
Johan Andersson
fbffce1c12 hlsparse: return dict instead of nothing 2018-06-03 15:20:46 +02:00
Johan Andersson
9619936f2a flake8 fixes 2018-05-27 16:10:22 +02:00
Johan Andersson
af8fcc7581 hlsparse: put together subtitles when we are done with the other media.
use random bitrate so we can extract several subtitles if we need to extract it.
2018-05-27 16:00:05 +02:00
Johan Andersson
326a26aa21 fetcher: use .format for repr 2018-05-25 22:47:48 +02:00
Johan Andersson
bbf2f82b79 fetcher: make name a property 2018-05-25 22:47:26 +02:00
Johan Andersson
7275829dae hls.download: the extension should be ts not tls 2018-05-21 00:05:31 +02:00
Johan Andersson
8fcd201ddc dash: use exception instead of nothin 2018-05-13 14:21:27 +02:00
Johan Andersson
d3799d7660 rtmp: generate correct filename 2018-05-13 13:09:27 +02:00
Johan Andersson
55b07c1dfb fetcher: set output extension 2018-05-13 13:09:27 +02:00
Johan Andersson
1a14d26b1b Return empty dict instead of None 2018-05-13 13:07:37 +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
859fd50efa flake8 break long lines 2018-05-13 12:09:27 +02:00
Johan Andersson
07b84c1f2e flake8 no need for extra space 2018-05-13 12:09:27 +02:00
Johan Andersson
5339bdc265 flake8 over-indented for visual indent 2018-05-13 12:09:27 +02:00
Johan Andersson
22e3c8e5ac urljoin in hls 2018-05-13 12:09:27 +02:00
Johan Andersson
7e351530e9 No need for utils.urllib anymore 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
dalgr
346b40dfbf Add better parsing of dates in dash fetcher 2018-03-30 22:52:20 +02:00
dalgr
e77b5e12cd Adjust 'end_time_stamp' for tv4 live, to avid fetching before the stream is publlished 2018-03-30 22:52:20 +02:00
dalgr
ec483a7045 Fix for the problem cused by 'Crypto.Random' 2018-03-11 10:19:29 +01:00
dalgr
f818993bcd Fixes: 'Another ViaFree issue'
...
2018-03-10 22:16:16 +01:00
Johan Andersson
4b64e1bb9f hlsparse: sometimes we thought that subtitles was audio track
fixes #853
2018-03-09 23:20:52 +01:00
Johan Andersson
0eaf0ec8f8 don't hide import errors 2018-03-09 22:53:33 +01:00
Johan Andersson
35691d85cc hls: we should use .ts and not .mp4 2018-03-06 21:49:43 +01:00
dalgr
4c62d87087 Modify after review, issue 846 2018-03-06 21:04:48 +01:00
dalgr
f06c09e9c3 Fix issue 846, DASH crash on a video on svtplay 2018-03-06 21:04:48 +01:00
dalgr
8b3a5dacbe hls AES use avilable IV or 'Random.new()' from 'Crypto' 2018-03-04 19:48:17 +01:00
dalgr
70fafc7f90 Improve parsing of 'mediaPresentationDuration', for dash 2018-02-25 18:27:19 +01:00
dalgr
b800322f06 Remove usage of 'dateutil.parser' 2018-02-25 18:27:19 +01:00
dalgr
bad41cb1ed Fix support for svt melodifestivalen 2018-02-25 18:27:19 +01:00