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

431 Commits

Author SHA1 Message Date
Johan Andersson
75972511fe tv4play: remove one space. 2014-11-25 21:48:08 +01:00
Johan Andersson
75fe876c90 svtplay: unused subtitle variable 2014-11-25 21:47:49 +01:00
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
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
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
76e6921771 disney: better automagic filename
this fixes #148
2014-11-23 13:04:05 +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
c66f6a51e4 disney: Adding support for disney.se
this fixes #148
2014-11-08 23:02:02 +01: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
0e65654a5a HDS: show an error message when we see DRM files. 2014-10-12 23:31:12 +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
cybjit
4221a94d10 use log instead of print 2014-09-28 22:56:57 +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
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
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
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
9b1d2aa657 viaplay: support all characters for rtmp application value
this fixes #123
2014-08-27 15:13:57 +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
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
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
Johan Andersson
8fd7639b1a Space after # 2014-07-28 16:01:27 +02:00
Johan Andersson
89a8fc766b Wrong indentation. 2014-07-28 15:57:25 +02:00
Olof Johansson
0aa10b7b5d qbrick: add missing import: copy
Reported by pylint.
2014-07-22 10:16:30 +02:00
Olof Johansson
e56e5385e9 tv4play: avoid using builtin keyword id as varname
Reported by pylint.
2014-07-22 10:13:49 +02:00
Olof Johansson
91a4718b36 lemonwhale: don't use file as symbolname (py builtin)
Reported by pylint.
2014-07-22 10:10:11 +02:00
Olof Johansson
fc8a2fef9f expressen: Fix anomalous-backslash-in-string pylint warning 2014-07-22 09:37:57 +02:00
Olof Johansson
7d9b5e0537 kanal5: Fix pylint warnings (whitespace issues) 2014-07-22 09:32:58 +02:00
Johan Andersson
cd1194c1e1 kanal5: some streams don’t have videos for IPAD 2014-07-21 15:38:36 +02:00
Johan Andersson
eb21340039 aftonbladet: support for akamai streams. 2014-07-14 14:49:03 +02:00
Johan Andersson
9aeea1b9d0 tv4play: support for HLS 2014-07-13 22:48:34 +02:00
Johan Andersson
40726e01a2 kanal5: always have rtmp live flag on. 2014-07-13 16:04:33 +02:00
Johan Andersson
1ae8bf3329 kanal5: divide the bitrate with 1000 2014-07-13 14:27:34 +02:00
Johan Andersson
b4832a9f5f kanal5: We only see streamBaseUrl on RTMP 2014-07-10 18:35:27 +02:00
Johan Andersson
ce2d7cbab5 kanal5: Add support for HLS again. 2014-07-10 18:23:30 +02:00
Johan Andersson
0c6b458e5e svtplay: hdcore 3.3.0 2014-07-10 18:08:48 +02:00
Johan Andersson
b8ae4e68ac svtplay: they started to add query string on their hds streams 2014-07-01 19:19:00 +02:00
Johan Andersson
9fe5f1792b ruv: update the service 2014-06-29 23:12:56 +02:00
Johan Andersson
e1915b6be2 viaplay: skip geoblock check if we see RTMP streams 2014-06-27 10:05:40 +02:00
Johan Andersson
45e847d849 viaplay: dont override live flag 2014-06-26 22:16:18 +02:00
Johan Andersson
e19b9e6316 viaplay: debug lines.. 2014-06-26 22:12:16 +02:00
Johan Andersson
115ff10249 viaplay: support for viagame.com 2014-06-26 22:04:34 +02:00
Johan Andersson
9a7378f32d viaplay: error handling when xml filename is f4m file 2014-06-26 22:04:16 +02:00
Johan Andersson
eb762b8084 viaplay: support for HLS with better quality 2014-06-26 21:52:32 +02:00
Johan Andersson
eeb8d39599 expressen: they changed some things again.
Adding support for HLS and RTMP
2014-06-26 21:13:15 +02:00
Johan Andersson
507cf21e3d tv4play: hds live videos looks a bit different from vod hds. 2014-06-23 21:22:26 +02:00
Johan Andersson
abaf1e19a9 viaplay: use data-video-id instead of data-emediate-video_id.
based on a fix by @magic75 and this fixes #108
2014-06-22 22:46:00 +02:00
Johan Andersson
f5635980ec kanal5: we have this in a other place now 2014-06-07 20:59:42 +02:00
Johan Andersson
6d6760df18 nrk: remove obsolete options.hls 2014-06-07 20:48:54 +02:00
Johan Andersson
3f4bdd58d8 service: copy options to fetcher 2014-06-07 20:48:54 +02:00
Johan Andersson
95aac29eb1 tv4play: we don’t support drm protected files 2014-06-03 16:25:31 +02:00
Johan Andersson
5d46c53d7f viaplay: check for data-emeidate-video_id first. 2014-06-02 22:13:11 +02:00
Johan Andersson
b8b97d40b4 viaplay: use data-emediate-video_id instead of data-link 2014-06-02 22:11:07 +02:00
Johan Andersson
245f4517fa viaplay: don’t import hdparse two times. 2014-06-02 21:54:18 +02:00
Johan Andersson
d66164f920 dr.dk: support for the new site. 2014-06-02 21:43:22 +02:00
Johan Andersson
4c83522225 lemonwhale: convert into new video fetcher 2014-06-02 21:43:02 +02:00
Johan Andersson
fe463a1567 viaplay: forgot else after that f4m fix. 2014-06-02 21:27:51 +02:00
Johan Andersson
92ef824fef viaplay: support for hds streams. 2014-06-02 21:27:51 +02:00
Johan Andersson
b3ce95bdb1 svtplay: Unused import HDS 2014-06-02 21:27:51 +02:00
Johan Andersson
a38a077af5 svtplay: only yield when have have a subtitle. 2014-06-02 21:27:50 +02:00
Johan Andersson
30798c900a vimeo: use bitrate instead of height 2014-06-02 21:27:50 +02:00
Johan Andersson
79dd600397 tv4play: hdsparse support 2014-06-02 21:27:50 +02:00
Johan Andersson
70f7ca72b7 nrk: hdsparse support 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
218f61b95d justin: we don't want to return false here. 2014-06-02 21:27:50 +02:00
Johan Andersson
83b120ef9a tv4play: right value for rtmp path 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
df6d64d218 Unused import select_quality 2014-06-02 21:27:49 +02:00
Johan Andersson
f5cf37c4a9 remove old subtitle functions from kanal5 and svtplay 2014-06-02 21:27:49 +02:00
Johan Andersson
28bc0f3389 viaplay: yield the subs 2014-06-02 21:27:49 +02:00
Johan Andersson
9591e99e19 tv4play: yield the subs 2014-06-02 21:27:49 +02:00
Johan Andersson
6a02d39ae3 urplay: yield the subs 2014-06-02 21:27:49 +02:00
Johan Andersson
4c50978acf svtplay: yield the subs 2014-06-02 21:27:49 +02:00
Johan Andersson
994e9832fb nrk: yield the subs 2014-06-02 21:27:49 +02:00
Johan Andersson
a374a55c21 kanal5: yield the subs 2014-06-02 21:27:49 +02:00
Johan Andersson
24cdfdcc31 svtplay: it should be elif and not if 2014-06-02 21:27:49 +02:00
Johan Andersson
c734591b8e radioplay: convert into new video fetcher 2014-06-02 21:27:49 +02:00
Johan Andersson
f85afbf095 urplay: convert into new video fetcher 2014-06-02 21:27:49 +02:00
Johan Andersson
50dfb1c159 aftonbladet: convert into new video fetcher 2014-06-02 21:27:49 +02:00
Johan Andersson
3124e4796e svtplay: convert into new video fetcher 2014-06-02 21:27:48 +02:00
Johan Andersson
47818019ab justin: convert into new video fetcher 2014-06-02 21:27:48 +02:00
Johan Andersson
42e82b88c9 hbo: convert into new video fetcher 2014-06-02 21:27:48 +02:00
Johan Andersson
452237942e expressen: convert into new video fetcher 2014-06-02 21:27:48 +02:00
Johan Andersson
0bebc2290e dr: convert into new video fetcher 2014-06-02 21:27:48 +02:00
Johan Andersson
3d81c70f53 bambuser: convert into new video fetcher 2014-06-02 21:27:48 +02:00
Johan Andersson
2249196f30 kanal5: convert into new video fetcher 2014-06-02 21:27:48 +02:00
Johan Andersson
6cbc1fd503 mtvservices: convert into new video fetcher 2014-06-02 21:27:48 +02:00
Johan Andersson
a4d33a6d44 nrk: convert into new video fetcher 2014-06-02 21:27:48 +02:00
Johan Andersson
713e4d59c6 picsearch: convert into new video fetcher 2014-06-02 21:27:48 +02:00
Johan Andersson
d1d2c091ce qbrick: convert into new video fetcher 2014-06-02 21:27:48 +02:00
Johan Andersson
672cf338ff tv4play: convert into new video fetcher 2014-06-02 21:27:48 +02:00
Johan Andersson
474987309d ruv: convert into new video fetcher 2014-06-02 21:27:48 +02:00
Johan Andersson
00b1627491 sr: convert into new video fetcher 2014-06-02 21:27:48 +02:00
Johan Andersson
8fb6f7f15f viaplay: convert into new video fetcher 2014-06-02 21:27:48 +02:00
Johan Andersson
ecb84858fe vimeo: convert into new video fetcher 2014-06-02 21:27:48 +02:00
Johan Andersson
e986f44581 lemonwhale: svd.se have changed provider for videos. 2014-05-01 23:18:04 +02:00
Olof Johansson
86576128d5 Add initial unittests for expressen 2014-05-01 22:44:38 +02:00
Olof Johansson
c72294c422 Refactor handles URLs tests to mixin 2014-05-01 22:43:36 +02:00
Johan Andersson
134dcb1367 aftonbladet: they changed how hls works. 2014-05-01 22:11:54 +02:00
Olof Johansson
30fdeef25d Real fix for oppetarkiv pylint error
Silly me. :(
2014-05-01 22:01:09 +02:00
Olof Johansson
09834ebe3a Fix minor pylint warnings in expressen fetcher 2014-05-01 21:59:51 +02:00
Olof Johansson
0abeffdbc1 Adapt Expressen fetch to changes to website
Now Expressen is using HLS.
2014-05-01 21:55:52 +02:00
Olof Johansson
10e7188687 Fix bug caught by pylint in oppetarkiv fetcher 2014-05-01 21:55:29 +02:00
Johan Andersson
d2068050b4 picsearch: They have two ways to write mediaId and media-id.
this fixes #94
2014-05-01 21:10:25 +02:00
Olof Johansson
5deeb84fc9 Break out OppetArkiv to subclass of Svtplay 2014-05-01 20:07:55 +02:00
Johan Andersson
924cca1380 viaplay: forgot else after that f4m fix. 2014-05-01 17:06:24 +02:00
Johan Andersson
c2a389841f viaplay: forgot else after that f4m fix. 2014-05-01 17:04:08 +02:00
Johan Andersson
5e47b7bc26 viaplay: support for hds streams. 2014-05-01 16:52:05 +02:00