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

983 Commits

Author SHA1 Message Date
Johan Andersson
e3939a4bbe viafree: we should check if this is a sport page or not 2018-06-03 20:49:45 +02:00
Johan Andersson
18b00ae673 viafree: support for downloading video from the program page. 2018-06-03 18:00:01 +02:00
Johan Andersson
585ea7b0d6 viafree: unused import 2018-06-03 17:59:36 +02:00
Johan Andersson
70bffe6f5e viafree._autoname: In some cases we dont have episode info. 2018-06-03 15:50:34 +02:00
Johan Andersson
668bbceac5 aftonbladet: update so it works with the site again. 2018-06-03 12:49:25 +02:00
Johan Andersson
a411750a67 nrk: output missing for subtitle 2018-06-03 01:39:19 +02:00
Johan Andersson
12cbe91d7b dbtv.no: thet use youtube now for their videos 2018-06-03 01:35:19 +02:00
Johan Andersson
aa39a52f15 dr: missing output 2018-06-03 01:18:15 +02:00
Johan Andersson
a261094731 öppetarkiv: this need to have output set 2018-06-03 00:24:44 +02:00
Johan Andersson
66b45cd4b1 öppetarkiv: unused import 2018-06-03 00:17:05 +02:00
Johan Andersson
00814e690d öppetarkiv: no need to check if streams are empty or not 2018-06-03 00:13:45 +02:00
Johan Andersson
512f8a0979 öppetarkiv: missing output value 2018-06-03 00:13:18 +02:00
Johan Andersson
1677349a42 öppetarkiv: we only send one argument to outputfilename 2018-06-03 00:12:45 +02:00
Johan Andersson
89104b830e viafree: support for the new page
fixes #893
2018-05-31 01:30:25 +02:00
Johan Andersson
9619936f2a flake8 fixes 2018-05-27 16:10:22 +02:00
Johan Andersson
4fc53137d1 dplay: use logging instead of log 2018-05-27 16:05:54 +02:00
Johan Andersson
25831bd1a9 twitch: this should be episodename 2018-05-27 16:04:39 +02:00
Johan Andersson
f754197713 dplay: support for several subtitle languages
In some cases we dont want to download everything.
by default we will download the language as the .tld
2018-05-27 16:04:13 +02:00
Johan Andersson
0f0e9fc459 urplay: only send the label to the subtitle 2018-05-27 15:54:24 +02:00
Johan Andersson
66f102cd92 tv4play: add some extra space around arithmetic operator 2018-05-22 20:19:53 +02:00
Johan Andersson
389acf6a6c npo: use the correct path to urlparse 2018-05-22 20:19:16 +02:00
Johan Andersson
7a8b4af606 tv4play: remove " - " från the name 2018-05-22 00:51:00 +02:00
Johan Andersson
2718f55db7 tv4play: send hls_time_stamp as a argument to fetchers 2018-05-22 00:03:14 +02:00
Johan Andersson
3dd8285c8a qbrick: send other as a argument 2018-05-22 00:02:48 +02:00
Johan Andersson
35d8eb6dd1 Some more options to config 2018-05-22 00:02:20 +02:00
Johan Andersson
ae89f52606 tv4play: Add the id number to output
fixes: #899
2018-05-21 23:36:34 +02:00
Johan Andersson
24c1be3fd2 viafree: replace options with config 2018-05-21 22:56:22 +02:00
Johan Andersson
81e327ec19 tv4play: send other as a argument to the fetcher class 2018-05-21 22:13:30 +02:00
Johan Andersson
bbc0b70368 tv4play: remove some old option code 2018-05-21 22:13:08 +02:00
Johan Andersson
c5b436e20e services: add output variable to fetchers 2018-05-21 00:56:22 +02:00
Johan Andersson
7aee5164f5 viafree: remove old variable 2018-05-21 00:38:04 +02:00
Johan Andersson
e97b104573 unused imports 2018-05-20 19:05:17 +02:00
Johan Andersson
6dfdc8c6c0 Support for config files
this will search for config file in
unix: ~/.svtplay-dl.yaml
windows: %APPDATA%\svtplay-dl\svtplay-dl.yaml
2018-05-20 18:21:40 +02:00
Johan Andersson
6c526a62e1 remove some more excludes 2018-05-13 15:15:11 +02:00
Johan Andersson
6b186291dd vimeo: fix bad merge from before.. 2018-05-13 14:20:57 +02:00
Johan Andersson
d2776c3b12 Remove some debug prints 2018-05-13 13:18:36 +02:00
Johan Andersson
81011d4b53 svtplay: only add desc if available 2018-05-13 13:09:27 +02:00
Johan Andersson
850ec4612d getmedia: do exclude inside of the streams loop. 2018-05-13 13:09:25 +02:00
Johan Andersson
193edae667 mtvnn: send other as a argument instead of using options 2018-05-13 13:07:37 +02:00
Johan Andersson
77115279e1 remove some old naming methods that we dont need now 2018-05-13 13:07:37 +02:00
Johan Andersson
4271bbe615 remove some old excludes 2018-05-13 13:07:37 +02:00
Johan Andersson
6d490879a4 Remove some empty lines 2018-05-13 13:07:37 +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
39f1f2c162 change order of operator 2018-05-13 12:09:27 +02:00
Johan Andersson
a7dfff596b svtplay: missing import 2018-05-13 12:09:27 +02:00
Johan Andersson
859fd50efa flake8 break long lines 2018-05-13 12:09:27 +02:00
Johan Andersson
50ef5821f4 flake8 add some space for the operator 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
8f126c3d49 flake8 add new line end of file 2018-05-13 12:09:27 +02:00
Johan Andersson
5d1f86d8fc flake8 fixes 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
86a8ea52e9 use logging? 2018-05-13 12:09:27 +02:00
Johan Andersson
b82831df03 Move services to its own file 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
6ee5cbbc80 Make '_autoname' in 'Tv4play' safer by adding value checks and try/except 2018-05-06 19:03:50 +02:00
dalgr
a5ad609a6c Add a new service npo, for 'npo.nl' 2018-05-06 15:36:04 +02:00
dalgr
f474fb9b0c Fix for issue #888, viafree not working 2018-05-06 15:35:23 +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
8b25a606ee Remove 'window.svt.nyh.reduxStat', for svt.se 2018-03-20 06:56:39 +01:00
dalgr
0bf050df22 Fix support of Clips on svt.se 2018-03-20 06:56:39 +01:00
dalgr
77f0c47be9 Add support for hls fetching from vimeo 2018-03-19 20:55:10 +01:00
dalgr
ca2de62e6f Fix bug with vimeo 2018-03-19 20:55:10 +01:00
dalgr
6dc0595765 Improve the name of the outputed file 2018-03-10 22:16:16 +01:00
dalgr
f818993bcd Fixes: 'Another ViaFree issue'
...
2018-03-10 22:16:16 +01:00
Johan Andersson
4282992719 viafree: they changed from using StartPageStore to ApplicationStore
fixes: #845
2018-03-06 21:49:43 +01:00
Johan Andersson
58f4c7fdcb dplay: download the video on the program page
fixes: #824
2018-03-04 15:06:54 +01:00
dalgr
0d216719b8 Fix issue 829, compare with slug when avilabel 2018-03-04 12:35:05 +01:00
Johan Andersson
3de9396f7d remove some debug prints.. 2018-03-04 11:41:22 +01:00
Peter Janson
e9ce045838 Fixing filename creation for dplay
Encoding of show name failed. Fixed that!

fixes: #826
2018-03-04 11:28:21 +01:00
dalgr
33756e99c4 remove service vidme 2018-03-04 11:24:58 +01:00
Johan Andersson
f1befe0638 dplay: remove debug print for cookies 2018-02-26 10:02:05 +01:00
Johan Andersson
61ff824fd6 dplay: fix url for .no and .dk
fixes: #823
2018-02-26 00:37:17 +01:00
Johan Andersson
28bbfc6eab dplay: show an error message if its a bad url 2018-02-25 21:25:03 +01:00
Johan Andersson
f8877bb970 dplay: add support for detecting channels
live stream won't work because the audio and video is in different files.
this can be fixed later.
2018-02-25 21:25:03 +01:00
Johan Andersson
650d2896e2 dplay: add name of the episode in the filename
fixes: #819
2018-02-25 00:09:08 +01:00
Johan Andersson
149c637ce8 dplay: support for exclude
fixes: #818
2018-02-24 20:59:23 +01:00
Johan Andersson
a3406c8c53 cmore: add support for .dk/fi/no
fixes: #815
2018-02-24 17:39:26 +01:00
Johan Andersson
bdc646b885 cmore: fix login issue with the new site
fixes: #804
2018-02-24 17:07:14 +01:00
Johan Andersson
6d3c57a667 svtplay: use parse_qs instead of regex to parse the query 2018-02-21 23:04:20 -05:00
Johan Andersson
3a1735144c svtplay: dont crash if we cant find the show using -A
fixes: #802
2018-02-21 22:50:31 -05:00
Johan Andersson
b47ce3ba26 viafree: fix -A so it works again
fixes 805
2018-02-21 22:44:19 -05:00
Johan Andersson
2fb54e368b svtplay: in -A and --all-last sort the list if we have episodeNumber
fixes #800
2018-02-21 22:12:52 -05:00
Johan Andersson
f42a50ca5f dplay: support for the new design of the page
fixes #777
2018-02-21 21:30:36 -05:00
dalgr
10f0807b9a fix bug in raw service 2018-02-12 21:40:27 +01:00
Johan Andersson
0b920aebe0 eurosportplayer: new site 2018-02-12 00:55:51 +01:00
dalgr
70c94e4131 Adds two fallback options for tv4 autonaming 2018-02-11 21:18:28 +01:00
dalgr
e721c45acd Remove unused 'extention' in raw service 2018-02-11 21:17:37 +01:00
dalgr
fb07e84fa6 Add support of downloading mpd files to service raw 2018-02-11 21:17:37 +01:00
dalgr
9b631e595a Fix service Nickelodeon.se 2018-02-10 14:54:14 +01:00
Johan Andersson
7b6ceb4737 Flake8 fixes 2018-01-30 20:17:33 +01:00
dalgr
530aef4ed6 Change title formating from custom to 'utils.filenamify' 2018-01-28 21:21:02 +01:00
dalgr
cf7f8c1da8 Add support for service ATG 2018-01-28 21:21:02 +01:00
Bart Coppens
3b8969eb2f dn.se has data-id attributes with a slightly different format 2018-01-27 00:29:10 +01:00
dalgr
f6e46178a2 Add support for service mtv.se 2018-01-27 00:28:43 +01:00
Johan Andersson
81c0eea37b remove unused imports 2018-01-27 00:07:27 +01:00
dalgr
67421bc6fb Add try/except for json parsing in Aftonbladet service 2018-01-25 22:43:10 +01:00
dalgr
78d1ad6934 Add support for Aftonbladet embedded videos 2018-01-25 22:43:10 +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
b8dfbd1e3a proof of concept, tv4play live 2018-01-15 00:37:18 +01:00
dalgr
31e5546e26 Add support of downloading a 'media_segment' m3u8 file 2018-01-14 22:29:20 +01:00
Johan Andersson
4826c22781 nrk: dont try to run keys if streams is None 2018-01-09 22:32:36 +01:00
Johan Andersson
564de61fed barnkanalen: fix sorting on -A 2018-01-09 21:14:01 +01:00
Johan Andersson
503bb540f5 svtplay: remove rss support in find all
In rss the sorting is way wrong.
2018-01-09 14:37:32 +01:00
Johan Andersson
dca6e90a80 svtplay: in find all, dont sort the already sorted list. 2018-01-09 14:37:32 +01:00
Nick Leppänen Larsson
1f8b7f793f Barnkanalen: inherit from Svtplay
svtplay modified to better support being inherited
2018-01-09 00:41:16 +01:00
Nick Leppänen Larsson
bfa6e6e296 Add service Barnkanalen
Heavily based on svtplay
2018-01-09 00:41:16 +01:00
Johan Andersson
02ae9767b4 dplay: live support for channels using HLS 2018-01-09 00:40:24 +01:00
dalgr
939f277f86 Add support for live svtplay using hls 2018-01-08 20:15:54 +01:00
Johan Andersson
e2536eb133 urplay: in some cases they show schema. 2018-01-04 22:17:13 +01:00
Johan Andersson
3d0886a277 urskola: fix -A 2018-01-04 22:16:49 +01:00
Johan Andersson
5a4799f1a5 urplay: add scheme to urls
fixes #742
2018-01-04 22:09:17 +01:00
Johan Andersson
c03eefe6d0 sportlib: new site 2018-01-04 00:49:41 +01:00
Jan
ffe63aef19 Viaplay: Fix JSON episode data regexp for "all episodes" as well 2018-01-03 21:45:24 +01:00
Jan
8917d5bd8e Viaplay: Fix regexp for JSON episode data extraction 2018-01-03 21:45:24 +01:00
Johan Andersson
ebbe76ceb1 cmore: dont crash when the filename have åäö in it. 2017-11-13 18:36:06 +01:00
Johan Andersson
3983fcd1f9 cmore: detect the video id better
fixes #733
2017-11-13 18:32:16 +01:00
Johan Andersson
4cd40a2665 expressen: they started to use https for their stuff now
fixes #735
2017-11-11 13:02:25 +01:00
Jonatan Skogsfors
403f375150 Change priority for SR downloads.
Download of an SR program with music is typically only available for a
certain period of time while the shortened program is always available.
With that in mind I can’t see how the elif case ever would have been
visited.
2017-10-30 15:47:29 +01:00
dalgr
892b738bcb Change to use Unicode strings in 'tv4play.py' 2017-10-19 20:10:19 +02:00
granbom
9f1c01a751 Fixing typo. Closes spaam/svtplay-dl#718 2017-10-17 10:41:38 +02:00
granbom
bfd925538f String format issues. Closes spaam/svtplay-dl#719 2017-10-17 10:41:38 +02:00
Johan Andersson
ad94873402 dplay: fix keyerror after format string fixes
fix: #715
2017-10-12 22:30:57 +02:00
Johan Andersson
804b869644 service: change str formating from '%s' to '.format' 2017-10-09 22:35:13 +02:00
Johan Andersson
2ee0dad363 viafree: fix sorting for --all-last
fixes #696
2017-10-09 21:11:52 +02:00
Daniel Lublin
3410b1b58a svtplay: the last n from the sorted episodes does it 2017-10-09 20:55:39 +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
dalgr
510e8424fc Adding suport for vid.me 2017-10-09 20:38:56 +02:00
dalgr
908b4ec313 more code cleanup
cleanup
2017-10-09 20:33:11 +02:00
dalgr
2adcdcd8ef simplify and cleanup code 2017-10-09 20:33:11 +02:00
dalgr
493b01a856 fix error msg formating 2017-10-09 20:33:11 +02:00
dalgr
3fc3fbc9ef change str formating from '%s' to '.format' 2017-10-09 20:33:11 +02:00
dalgr
988b557433 Get alt query before entering specific video format 2017-10-03 21:23:21 +02:00
dalgr
9284c4d76c Reformat '_get_video' in svtplay.py 2017-10-03 21:23:21 +02:00
dalgr
0ce284c106 replace str '%s' with str format 2017-10-03 21:23:21 +02:00
dalgr
27db933d6c Fix formating of (ServiceError, log.info, log.error) msg 2017-10-03 21:23:21 +02:00
Johan Andersson
baa150cb88 svtplay: handle json decode error on api request.
In some cases when people using dns service to get around geoblocking
the dns server redirect them to a page telling them their ip is not
authorised using the dns server. this might fix #648
2017-10-03 21:21:09 +02:00
Johan Andersson
d2b84198a8 cmore: remove dash from the operator name 2017-09-19 00:43:30 +02:00
Johan Andersson
5a6dc77374 cmore: support for operator login 2017-09-19 00:30:11 +02:00
Johan Andersson
9bbda65d20 cmore: check for .se for names for now. 2017-09-18 22:24:27 +02:00
Johan Andersson
a1dbdc9e94 cmore: better error handling for wrong user / passwd 2017-09-18 22:16:54 +02:00
Johan Andersson
700f4e0032 svtplay: change -A to be a blacklist instead of a whitelist
sometimes slug was avsnitt, sasong* or year.
2017-09-18 20:21:17 +02:00
Johan Andersson
12c0847602 aftonbladet: fix so it works with tv.aftonbladet.se 2017-09-18 14:47:34 +02:00
Johan Andersson
01f7ea54be svtplay: for some reason some slug in -A use year instead of sasong. 2017-09-17 21:03:54 +02:00
Johan Andersson
bb291ec448 disney: new layout on the page.
fixes #613
2017-09-17 19:48:08 +02:00
Johan Andersson
983d2f78e5 tv4play: use webvtt instead of smi files.
fixes #631
2017-09-17 11:20:31 +02:00