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

214 Commits

Author SHA1 Message Date
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
Johan Andersson
c9ba7887b0 HTTP-fetcher: use output filename instead of url 2014-11-08 23:02:40 +01:00
Johan Andersson
f9ab8da8d5 rtmp: need to return nothing when file exists.
this fixes #142
2014-10-13 00:14:31 +02:00
Johan Andersson
0e65654a5a HDS: show an error message when we see DRM files. 2014-10-12 23:31:12 +02:00
Johan Andersson
401bb08a78 hdsparse: in some cases we only have one bootstrap that is shared between all streams 2014-10-12 23:31:12 +02:00
cybjit
93a3cdef35 io.IOBase does not have read, file_d is not used 2014-09-28 22:56:52 +02:00
Johan Andersson
ab4a7ee704 hls: start on 1 instead of 0
this fixes #127
2014-09-02 19:54:06 +02:00
Johan Andersson
0544b57b77 Break long lines into two lines. 2014-08-28 07:56:47 +02:00
Johan Andersson
8eec519577 output: make pylint happier. 2014-08-21 22:10:16 +02:00
Johan Andersson
e3f311b0b6 rtmp: removing unused imports. 2014-08-21 21:37:30 +02:00
Johan Andersson
686f5f615a refactor output to its own function
Almost the same code for all the fetchers.
2014-08-20 20:27:45 +02:00
Johan Andersson
3f6bd29a13 fetchers: fix a crash on stdout python3 2014-08-12 17:14:12 +02:00
Johan Andersson
ec3e8fb131 Fixing some landscape.io warnings 2014-08-12 00:08:51 +02:00
Johan Andersson
8fd7639b1a Space after # 2014-07-28 16:01:27 +02:00
Olof Johansson
0fc0c02b99 VideoRetriever: inherit from object
Reference: #ep14boat
2014-07-24 20:24:03 +02:00
Olof Johansson
5e8f36305a VideoRetriever: default to bitrate=0
Reference: #ep14boat
2014-07-24 20:23:58 +02:00
Olof Johansson
a8e63f4e60 hls: avoid unused variable warning (pylint) 2014-07-22 10:12:51 +02:00
Johan Andersson
d272c9bb84 rtmp: it should be rtmp and not hds 2014-07-13 15:19:12 +02:00
Johan Andersson
e811bd2513 HLS: 1000 is the new thing 2014-07-10 18:55:59 +02:00
Johan Andersson
ed85f9cf0f hds: Support for starting on NN fragment and use same query string as manifest. 2014-07-10 18:07:59 +02:00
Johan Andersson
cdf9216694 hlsparse: get the full url to playlists 2014-06-18 21:02:03 +02:00
Johan Andersson
e87c236c51 option to choose which download method is preferred. 2014-06-02 21:27:51 +02:00
Johan Andersson
663e69eca6 hls: Unused import select_quality 2014-06-02 21:27:51 +02:00
Johan Andersson
5c190169f2 http: complain when the file exists 2014-06-02 21:27:51 +02:00
Johan Andersson
6e037c53d7 rtmp: complain when the file exists 2014-06-02 21:27:51 +02:00
Johan Andersson
9bbf861e1b hls: complain when the file exists 2014-06-02 21:27:50 +02:00
Johan Andersson
ea9bd80356 hds: complain when the file exists 2014-06-02 21:27:50 +02:00
Johan Andersson
c606b9b031 hds: we don't need select_quality anymore inside this class. 2014-06-02 21:27:50 +02:00
Johan Andersson
ac69ecedf0 hds: left over cruft 2014-06-02 21:27:50 +02:00
Johan Andersson
383c0650d7 hds: parse and kwargssupport 2014-06-02 21:27:50 +02:00
Johan Andersson
4265d1222b hls: we select quality before we go here. 2014-06-02 21:27:50 +02:00
Johan Andersson
8ef2e2454a hls: use bandwidth instead of resolution now. 2014-06-02 21:27:50 +02:00
Johan Andersson
188e47517c services: parse hls playlist first. 2014-06-02 21:27:50 +02:00
Johan Andersson
28a918fa7b HLS: export resolution. 2014-06-02 21:27:49 +02:00
Johan Andersson
330d7dd925 fetcher: convert to VideoRetriever 2014-06-02 21:27:48 +02:00
Olof Johansson
79f1ea04be hls: don't output progressbar if --silent 2014-05-03 17:58:10 +02:00
Olof Johansson
a9ef1e6cfa hds: don't output progressbar if --silent 2014-05-03 17:57:53 +02:00
Johan Andersson
b72211b6f9 hls: move live check to the beginning of the function 2014-05-01 22:11:54 +02:00
Johan Andersson
ad7cdb4265 hls: a way to skip the first playlist with bandwidth info 2014-05-01 22:11:54 +02:00
Olof Johansson
cb710e6001 fetcher.http: send url to debug log before request 2014-03-19 23:30:24 +01:00
Johan Andersson
4e83665af5 rtmp: show the command during verbose. 2014-03-09 16:51:14 +01:00
Olof Johansson
316509de8e fetcher.rtmp: call rtmpdump with -V if verbose
With this change, you can make rtmpdump verbose as well if you call svtplay-dl
with -v.
2014-03-09 15:34:58 +01:00
Olof Johansson
8e46384048 hds: Error on live streams
This can be overriden using the --force flag.
2014-02-11 18:46:53 +01:00
Olof Johansson
b9107b20b6 hls: Error on live streams
This can be overriden using the --force flag, but the output may
be a bit disappointing --- only the current state of the HLS
playlist is downloaded, and no reload is attempted.
2014-02-11 18:46:53 +01:00
Olof Johansson
38b3c7820b hls: automatically detect baseurl 2014-02-08 17:40:25 +01:00
Johan Andersson
b5e67876c4 hds: python3 support 2014-01-07 20:52:03 +01:00
Johan Andersson
9345284547 Make pylint bit happier 2013-12-30 01:43:59 +01:00
Johan Andersson
33bb2c5c13 Replace sys.version_info with pyX 2013-12-30 01:35:08 +01:00
Johan Andersson
e0e75f5116 rtmp: we always get an .flv file not mp4 2013-12-29 18:38:39 +01:00
Johan Andersson
54ac6ccd3c hls: dont search for bandwidth at a fixed position.
On svtplay they added subtitle info in the playlist.
Beacuse of that the script crashed when we tried to access it
2013-10-14 20:18:09 +02:00
Johan Andersson
08280809ad hls: simplify encrypted part 2013-09-03 19:10:07 +02:00
Olof Johansson
b5c9339b2c hls: support keys over https as well as http 2013-08-29 20:46:02 +02:00
Johan Andersson
f7760ee640 Adding missing r prefixes to regex string 2013-05-05 12:57:42 +02:00
Olof Johansson
bd1ae14e53 Isolate py3/2.7 conditional imports to own modules 2013-04-21 13:45:43 +02:00
Olof Johansson
2d2cead9bc hls: catch KeyError exception by name 2013-04-21 13:45:43 +02:00
Olof Johansson
8d605f2819 Remove unused variable warnings 2013-04-21 13:45:43 +02:00
Olof Johansson
eef049cc0c hds: remove swf argument (it was unused) 2013-04-21 13:45:43 +02:00
Olof Johansson
a4202238c9 Remove unused imports 2013-04-21 13:45:43 +02:00
Johan Andersson
fa3e95ff7c Merge pull request #35 from olof/topic/eta_class
ETA class for fetchers
2013-03-25 12:14:32 -07:00
Olof Johansson
13c2ee494e Use ETA class in HDS and HLS fetchers 2013-03-25 19:54:41 +01:00
Johan Andersson
3cc8752f39 download_http: import HTTPError 2013-03-24 20:37:46 +01:00
Johan Andersson
ab84546d48 download_http: Request missing from imports 2013-03-24 17:37:31 +01:00
Johan Andersson
cfd20232ab Rename module from lib/svtplay to lib/svtplay_dl
less confusion with the service.
2013-03-17 19:55:19 +01:00