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

651 Commits

Author SHA1 Message Date
Johan Andersson
cd9cc95dfa Remove unused import sys. 2014-11-25 21:47:29 +01:00
Johan Andersson
0f93c5c1ce Return instead of sys.exit 2014-11-25 21:46:33 +01:00
Johan Andersson
adc39782d7 kanal5: move down subtitle after automagicfilename 2014-11-25 21:34:46 +01:00
Johan Andersson
66c394cca1 kanal5: save cookies to options 2014-11-25 19:03:24 +01:00
Johan Andersson
e94975b256 subtitle: support for cookies 2014-11-25 19:03:24 +01:00
Johan Andersson
fa6a4c61d2 viaplay: better error messages 2014-11-25 19:03:24 +01:00
Johan Andersson
b505a03d3c service: replace sys.exit with return 2014-11-25 19:03:24 +01:00
Johan Andersson
9624fbdcaf svtplay: just return if we can’t find any video. 2014-11-25 19:03:24 +01:00
Johan Andersson
8f30de9a85 tv4play: better error message 2014-11-25 19:03:24 +01:00
Johan Andersson
8ceb3ea56d More rewrite 2014-11-25 19:03:24 +01:00
Johan Andersson
dde3672966 viaplay: easier to read .endswith instead if len - 3 2014-11-25 19:03:23 +01:00
Johan Andersson
8cb76b98f5 tv4play: convert it to http rewrite. 2014-11-25 19:03:23 +01:00
Johan Andersson
dcc1367250 subtitle: refactor so we can reuse the try-except-thing 2014-11-25 19:03:23 +01:00
Johan Andersson
524fe2ce0c subtitle: catch http errors. 2014-11-25 19:03:23 +01:00
Johan Andersson
e1e56773cb get_http_data: remove try-except-clause 2014-11-25 19:03:23 +01:00
Johan Andersson
65143fb9f7 subtitle_json: only convert to utf8 on py2 2014-11-25 19:02:50 +01:00
Johan Andersson
b83f001f6f kanal5: bogus cookie thing is not needed. 2014-11-25 18:52:59 +01:00
Johan Andersson
f85840e502 kanal5: remove unused import 2014-11-25 17:07:45 +01:00
Johan Andersson
db5b7dd15e main: improve quality help text 2014-11-25 14:34:43 +01:00
Johan Andersson
76e6921771 disney: better automagic filename
this fixes #148
2014-11-23 13:04:05 +01:00
Johan Andersson
d836c438b1 subtitle_smi: Empty subtitles.
this fixes #180
2014-11-23 13:04:05 +01:00
Göran Gustafsson
b3811e7409 Menu fix 2014-11-23 10:31:33 +01:00
Johan Andersson
52c3ce8977 New version 0.9.2014.11.16 2014-11-16 22:11:18 +01:00
Johan Andersson
75c508292e kanal5: Send the cookies to subtitle.
super hack workaround for #178
2014-11-16 22:09:16 +01:00
Johan Andersson
ad5399f5de kanal5: proper error message when we try to access premium content 2014-11-16 21:55:54 +01:00
Johan Andersson
12f666b5e6 Forgot r-prefix in re.search 2014-11-09 02:15:43 +01:00
Johan Andersson
9342d0c8bb bigbrother: support for OpenGraphThumbMixin 2014-11-09 02:15:09 +01:00
Johan Andersson
796f649eef viaplay: Unused import 2014-11-09 02:14:31 +01:00
Johan Andersson
c9ba7887b0 HTTP-fetcher: use output filename instead of url 2014-11-08 23:02:40 +01:00
Johan Andersson
c66f6a51e4 disney: Adding support for disney.se
this fixes #148
2014-11-08 23:02:02 +01:00
Johan Andersson
e03e9cfc36 New version 0.9.2014.10.23 2014-10-23 00:06:00 +02:00
Johan Andersson
6a99f32b10 viaplay: they changed the api so things stopped working
this fixes #146
2014-10-23 00:03:14 +02:00
Johan Andersson
72e8a9f484 New version 0.9.2014.10.13 2014-10-13 00:19:26 +02: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
dc46471108 get_one_media: Don’t try downloading files when we can’t find any. 2014-10-12 23:53:42 +02:00
Olof Johansson
b59f413a22 Fix syntax error caused be recent change to log fmt 2014-10-12 23:41:44 +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
Olof Johansson
e05a7cd211 Get rid of some unnecessary thumbnail related output
Also, this change also makes svtplay-dl print an error if thumbnail was
requested but we write to stdout (--output -).
2014-10-12 21:30:33 +02:00
Olof Johansson
f739faca40 Get rid of some indentation by inverting conditionals 2014-10-12 21:29:04 +02:00
Olof Johansson
fb0168033d Log what protocol/bitrate we selected 2014-10-12 21:27:33 +02:00
Olof Johansson
1796a14007 logging: print log level name first on line when verbose 2014-10-12 21:27:28 +02:00
Olof Johansson
33345d90d1 Raise severity of "file already exists" errors 2014-10-12 21:27:24 +02:00
Olof Johansson
09f2f67b8e Rename tests.utils to tests.subtitle 2014-10-12 21:27:16 +02:00
Johan Andersson
2a472cbf67 main: change help message for resume 2014-10-06 23:04:14 +02:00
Johan Andersson
97e67bc7af aftonbladet: change format again. 2014-10-05 20:44:57 +02:00
Johan Andersson
b567f0b983 aftonbladet: remove old debug data. 2014-09-28 23:33:49 +02:00
Johan Andersson
1ce469e4f0 select_quality: in some cases we don’t know quality and return 0.
because of the 0 we then fail and show and error message when we shouldn’t.
this fixes #133
2014-09-28 23:32:57 +02:00
cybjit
4221a94d10 use log instead of print 2014-09-28 22:56:57 +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
ea057fc8fd mtvnn: download the right number of episodes
this fixes #132
2014-09-27 22:53:41 +02:00
Johan Andersson
fdd09734db aftonbladet: support for hls “master” playlist.
this fixes #135
2014-09-27 22:37:12 +02:00
Johan Andersson
619435eff1 get_media: create dir when it does not exists.
if we output to a nonexistent directory, create it.
this fixes #131
2014-09-21 20:30:28 +02:00
Johan Andersson
782ad2854e service: no need to check video streams when we force subtitles 2014-09-21 19:12:17 +02:00
Johan Andersson
f249c3c406 svtplay: fix unboundlocal error for subtitle
this fixes #130
2014-09-21 18:51:26 +02:00
Johan Andersson
09b4a6816e viaplay: Show a error message from the site when we can’t find the id.
this will show two error message but we will fix that later after http-rewrite.
this fixes #129
2014-09-11 23:51:45 +02:00
Johan Andersson
f0a06007c2 viaplay: better regex to find the video id. 2014-09-11 23:51:45 +02:00
Johan Andersson
2ea3a26ffb tv4play: dont urlencode already urlencoded shows names.
this fixes #128
2014-09-06 21:51:02 +02:00
Johan Andersson
3dd251e358 New service bigbrother.se 2014-09-06 11:35:59 +02:00
Olof Johansson
f26573de49 picsearch: add simple "handles url" unit tests 2014-09-04 23:04:25 +02:00
Olof Johansson
e84824ac7d picsearch: supports mobil.dn.se as well 2014-09-04 23:01:44 +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
46d5279bf8 tv4play: check html data before url. 2014-08-31 00:36:19 +02:00
Johan Andersson
cbbe997311 viaplay: check if subtitle is None before yield it.
this fixes #125
2014-08-29 00:11:43 +02:00
Johan Andersson
ef4c79256d New version 0.9.2014.08.28
Way to long since last release..
2014-08-28 19:47:39 +02:00
Johan Andersson
2b12931366 tv4play: parse.query instead of [4] 2014-08-28 16:48:15 +02:00
Johan Andersson
0544b57b77 Break long lines into two lines. 2014-08-28 07:56:47 +02:00
Johan Andersson
0e9d30a359 kanal5: use options.service instead of hardcoded service name in format string. 2014-08-27 22:59:41 +02:00
Johan Andersson
96f5384e77 svtplay: use options.service instead of hardcoded service name in format string. 2014-08-27 22:59:31 +02:00
Johan Andersson
a941b99cd1 tv4play: support for the new output mode 2014-08-27 22:58:37 +02:00
Johan Andersson
86e569ce1b kanal5: support for the new output mode 2014-08-27 22:47:53 +02:00
Johan Andersson
a8c95d455e svtplay: support for the new output mode 2014-08-27 22:41:38 +02:00
Johan Andersson
7f7d79a3db output: Don’t download the file if we already have it for some other fetcher 2014-08-27 22:40:31 +02:00
Johan Andersson
b1473f2eae tests: fix output tests after changed progressbar size. 2014-08-27 19:29:32 +02:00
Johan Andersson
1d222eacc3 progressbar: make it bit smaller.
this should fix #122
2014-08-27 19:29:00 +02:00
Johan Andersson
9b1d2aa657 viaplay: support all characters for rtmp application value
this fixes #123
2014-08-27 15:13:57 +02:00
Johan Andersson
9de3961c0b subtitle: show a warning if subtitle exists. 2014-08-23 13:33:38 +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
79b9c15977 init: removing unused imports. 2014-08-19 15:21:27 +02:00
Johan Andersson
78c5258d23 hbo: better way to detect app and path values 2014-08-19 15:20:50 +02:00
Johan Andersson
187182babe tv4: better detection for HLS streams. 2014-08-18 22:22:03 +02:00
Johan Andersson
a5de20a41d vg: support for vgtv.no 2014-08-18 22:21:44 +02:00
Johan Andersson
8284250df4 service: sort service import list 2014-08-17 10:57:08 +02:00
Johan Andersson
aee8a6ad61 New service vg.no 2014-08-17 10:55:05 +02:00
Johan Andersson
d478dbf563 kanal5: support for kanal11play 2014-08-12 19:57:53 +02:00
Johan Andersson
23d5a45ca7 kanal5: better automagic name 2014-08-12 19:57:03 +02:00
Johan Andersson
951979798d generic: detect embedded aftonbladet videos 2014-08-12 19:08:08 +02:00
Johan Andersson
3f6bd29a13 fetchers: fix a crash on stdout python3 2014-08-12 17:14:12 +02:00
Johan Andersson
4209f14e26 Fixing some more warnings. 2014-08-12 00:15:46 +02:00
Johan Andersson
ec3e8fb131 Fixing some landscape.io warnings 2014-08-12 00:08:51 +02:00
Johan Andersson
30c5da3f93 dbtv: Support for dbtv.no 2014-08-11 23:20:17 +02:00
Johan Andersson
7854cadb63 mtvnn: support for all_episodes 2014-08-11 22:45:59 +02:00
Johan Andersson
804fcbf2fc mtvnn: override automagic name with a better one 2014-08-11 21:25:10 +02:00
Johan Andersson
ebe21c49c5 get_one_media: override filename if it is set automagic 2014-08-11 21:24:35 +02:00
Johan Andersson
c19ba14e4c options: sync options from options parser 2014-08-11 21:00:19 +02:00
Johan Andersson
62913151eb mtvnn: new service support for nickelodeon.(se,no,nl)
this fixes #119
2014-08-11 20:41:09 +02:00
Johan Andersson
9b6f838e16 dr.dk: fixed a crash when looking on news videos 2014-08-11 19:46:56 +02:00
Johan Andersson
633a2254f0 viaplay: fix a FutureWarning
this fixes #120
2014-08-11 19:44:20 +02:00