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

1007 Commits

Author SHA1 Message Date
Johan Andersson
0596ee743b riksdagen: add support without subdomain.
fixes: #976
2018-10-28 16:29:17 +01:00
Johan Andersson
41cee01ab3 cmore: new site, new update 2018-10-13 13:55:25 +02:00
Johan Andersson
f183c3014e service.test: add some opengraph_get test cases 2018-10-05 23:46:52 +02:00
Johan Andersson
2b49c2259b service.test: add one more handler test case 2018-10-05 23:45:09 +02:00
Johan Andersson
22d387717e service.tests: more service tests. 2018-10-05 23:28:05 +02:00
Johan Andersson
e292e39a59 tv4play: fixed a crash if someone tried to download a geoblock file
fixed: #972
2018-09-23 21:32:02 +02:00
Johan Andersson
ad75ef77f0 tv4play: fix so all episodes work again 2018-09-23 20:05:36 +02:00
Harald Gustafsson
073f26e618 Added broadcast/publishing datetime to metadata extraction and NFO file creation. 2018-09-05 21:43:52 +02:00
Harald Gustafsson
4388e57112 Move the new metadata based thumbnail download into a reusable class instead of directly in Svtplay (requires that the service extract thumbnail urls during parsing of the video info into the self.output variable and the keys 'showthumbnailurl' and 'episodethumbnailurl'). Change OpenGraphThumbMixin to use the new download_thumbnails which makes correct filenames. Removed the old download_thumbnail. 2018-09-05 21:43:52 +02:00
Harald Gustafsson
fc71a8d8e4 flake8 fixes. 2018-09-05 21:43:52 +02:00
Harald Gustafsson
bf0e38a6f9 Working thumbnail download. Used by svtplay and barnkanalen, downloads both episode and show thumbnails. 2018-09-05 21:43:52 +02:00
Harald Gustafsson
dbdf7dc851 Get extra metadata, like thumbnails and descriptions. Currently implemented for svtplay and barnkanalen. 2018-09-05 21:43:52 +02:00
Harald Gustafsson
7736af04b5 Fix find all episodes for tv4play, some dictionary keys sometimes missing. 2018-09-05 21:37:08 +02:00
Gustav Ahlberg
dd76a21fbe use vars 2018-09-05 21:36:27 +02:00
Gustav Ahlberg
8cc2d5625e more cleanup 2018-09-05 21:36:27 +02:00
Gustav Ahlberg
471a3a8711 small cleanup 2018-09-05 21:36:27 +02:00
Gustav Ahlberg
47655df815 service for koket to download lessons 2018-09-05 21:36:27 +02:00
Johan Andersson
a7aa860f61 viafree: fix a warning with multiple spaces after ',' 2018-09-05 16:45:50 +02:00
Johan Andersson
7bd1d3a1f3 viafree: fix for downloading a specific season
fixes #944
2018-09-05 16:40:56 +02:00
Johan Andersson
e7bc0c1abe viafree: set episode name when its a text
fixes #941
2018-09-05 16:40:56 +02:00
Harald Gustafsson
8297d6614f Fix missed option to config change in barnkanalen service. 2018-07-22 23:02:43 +02:00
Johan Andersson
9b839dfaf4 subtitle.wrst: tv4play split their wrst into several .m3u8 files
it have some dupe codes. that we need to fix in the future....
2018-07-05 01:26:43 +02:00
Johan Andersson
21b3ec0ffa tv4play: add support for the new site
fixes: #918 #916 #914
2018-06-24 16:15:55 +02:00
Johan Andersson
7668ed7a68 generic: change to config 2018-06-24 16:10:41 +02:00
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