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

80 Commits

Author SHA1 Message Date
Johan Andersson
f017d5cf2c hls.get_full_url: use urljoin instead of format string 2018-02-10 00:16:04 +01:00
dalgr
e79251eb7e Fix support for hls segments streams 2018-02-04 23:38:11 +01:00
dalgr
da5ec62241 Improve preformance of hls parser, skip checking all posible videos 2018-02-04 20:40:25 +01:00
Johan Andersson
7b6ceb4737 Flake8 fixes 2018-01-30 20:17:33 +01:00
dalgr
c27e098593 Use max_duriation in hls and wait for tv4 video during commercials. 2018-01-23 19:01:40 +01:00
dalgr
4f7f3aaf7b Change to use international time for tv4 live 2018-01-23 19:01:40 +01:00
dalgr
f73f5d0b81 fix hls live download for tv4,sjuan,tv12 2018-01-15 22:16:07 +01:00
dalgr
31e5546e26 Add support of downloading a 'media_segment' m3u8 file 2018-01-14 22:29:20 +01:00
Johan Andersson
699412dc09 hls._get_tuple_attribute: in some cases there is a space in beginning of the name.
I saw this on some dplay live streams
2018-01-09 14:37:32 +01:00
dalgr
cace17260a Add capture_time to hls fetcher 2018-01-08 20:15:54 +01:00
dalgr
939f277f86 Add support for live svtplay using hls 2018-01-08 20:15:54 +01:00
dalgr
786fc6a027 simplify m3u media_segment by adding tag 'URI' 2018-01-07 01:53:00 +01:00
dalgr
c28e35b1cb Add tag 'URI' and simplify m3u json 2018-01-07 01:53:00 +01:00
dalgr
73bdf87b38 Fix bug in m3u8 parser, add a test for 'parse_m3u8.master_playlist' 2018-01-07 01:53:00 +01:00
dalgr
1379ac9c85 Continue with hls, 'EXT-X-MEDIA' 2018-01-07 01:53:00 +01:00
dalgr
ac6cca8919 Fix bug with key/decryptor and new m3u parser 2018-01-07 01:53:00 +01:00
dalgr
4207ccef71 continue improvements of m3u parser
update with more tags
2018-01-07 01:53:00 +01:00
dalgr
a875fcb5b6 start improvment of m3u parser 2018-01-07 01:53:00 +01:00
Johan Andersson
2fa12b5fe1 hls: in some cases we want to use different cookies for the encryption. 2018-01-04 00:49:41 +01:00
Johan Andersson
fc4c659ae9 output: make bit more generic
Remove the output "-". it have been a bit broken for a while.
2017-11-24 23:11:48 +01:00
Johan Andersson
2c2446b30b hls: sometimes they have the key as a filename without url 2017-10-22 20:59:17 +02:00
Johan Andersson
59d2513dee fetcher: change str formating from '%s' to '.format' 2017-10-09 22:35:33 +02:00
dalgr
bc3141a8c7 Avoid 'EXT-X-BYTERANGE', fix for 'hls.py'
Fix support for vidme in 'dash.py'
2017-10-09 20:38:56 +02:00
Johan Andersson
f4611b5512 hlsparse: need to send cookies when we grab hlsfiles 2017-09-16 18:26:07 +02:00
Johan Andersson
3e39a62737 hls: try to read the file playlist 2017-02-18 23:51:26 +01:00
Johan Andersson
d20fa3d959 parsem3u: don't crash if we cant unpack extinf
fixes: #557
2017-02-12 08:53:59 +01:00
Johan Andersson
5109c38dc6 hls: don’t crash when we can’t find bandwidth key
fixes #473
2016-10-16 19:50:30 +02:00
Johan Andersson
fa590117de fetcher: handle errors from parsing playlists 2016-10-16 19:35:38 +02:00
Johan Andersson
f8eb0b8a45 fetcher: dont crash if we cant read the playlists
fixes #446
2016-09-09 22:56:05 +02:00
Johan Andersson
bdf7a181ea hls: if the file start with / add hostname to it. 2016-09-04 20:43:37 +02:00
Johan Andersson
3ea58c0461 fetcher: dont print newline when its silent 2016-05-01 13:12:19 +02:00
Olof Johansson
5393dc1929 Fix various pylint warnings
None of these were any real problems, but easier to spot real issues if pylint
is a bit quieter. Apart from the pylint overrides being sprinkled over the code
base, this commit also fixes occurences of the following issues:

 - logging-not-lazy
 - logging-format-interpolation
 - unused-import
 - unused-variable
2016-04-03 19:06:45 +02:00
Johan Andersson
2d43702828 fetcher: set a variable if the stream is finished. 2016-03-22 22:28:41 +01:00
Johan Andersson
6d57453278 hls._get_full_url: dont append query string to the url 2016-03-16 18:56:52 +01:00
Johan Andersson
4e88d27cbc hls, hds: dont try to parse bad data
fixes: #342
2016-02-07 10:27:01 +01:00
Johan Andersson
c78960d2b8 hlsparse: this should be HLS and not HDS 2015-11-15 18:21:05 +04:00
Johan Andersson
31575abc51 hls: parsem3u dont crash when EXT-X- is one 2015-10-29 22:15:14 +01:00
Johan Andersson
739565cd27 hls, hds, http: its should be “and” and not “or” 2015-10-25 19:24:14 +01:00
Johan Andersson
626bef92d5 hls: support for silent 2015-10-25 18:23:28 +01:00
Johan Andersson
c7373854f9 HLS: handle 403 error when the playlist is geoblocked 2015-10-04 17:41:11 +02:00
Johan Andersson
c6d9a5732d hls: handle cookies 2015-10-04 14:36:06 +02:00
Johan Andersson
9011705274 hls: have the same interface as hds 2015-10-04 14:33:54 +02:00
Johan Andersson
dc2cc0294c pip8. expected 2 lines found 1 2015-09-15 20:10:32 +02:00
Johan Andersson
dc76094369 hls: remove unused imports 2015-08-31 20:35:37 +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
21cd9efe93 output: no need to get the filename when we already have it in options 2014-12-30 21:18:01 +01:00
Johan Andersson
178dea24fd hls: refactor some code 2014-12-20 21:07:55 +01:00
Johan Andersson
72ec064cc3 hls: handle error when getting key 2014-12-20 21:04:37 +01:00
Johan Andersson
67b3c8bb54 Rewrite http request handling. 2014-12-08 23:07:02 +01:00