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

774 Commits

Author SHA1 Message Date
Johan Andersson
fd64749c15 Merge remote-tracking branch 'qnorsten/master' 2017-01-02 18:35:27 +01:00
Johan Andersson
bc7ccc5918 svtplay: don’t crash if we cant find url for subtitle.
fixes #511
2017-01-02 18:32:33 +01:00
qnorsten
5dff059ff3 Viafree: Added SDH subfix to subtitle files when --all-subtitles are used
Added support to download both regular and Subtitles for hearing impared( with -SDH subfix), when using --all-subtitles
2016-12-17 11:09:07 +01:00
Johan Andersson
544f131ae4 urplay: detect related videos for -A
this is good enough to find related videos.
it would be better to use bs4 with lxml..

fixes #470
2016-12-06 22:42:54 +01:00
Johan Andersson
de055b885b tv4play: don’t try to access vod when its live
fixes: #506
2016-12-05 22:09:20 +01:00
Johan Andersson
92323375fc naming: write leading zeros in episodes and seasons in a better way 2016-12-05 21:52:42 +01:00
Johan Andersson
33679e3058 viaplay: support for wsrt (vtt) subtitle
fixes: #501
2016-12-05 20:53:22 +01:00
Johan Andersson
3173beef4a viaplay: check if its vtt or sami 2016-12-05 19:57:57 +01:00
Anders Waldenborg
a9c579ba5f Fix subtitles in urplay
The subtitle url was relative (in particular it left out the scheme)
Never videos appears to use VTT/WRST format
2016-11-30 23:21:42 +01:00
Johan Andersson
a986b9aeea picsearch: New way to get the token and id 2016-11-22 18:05:08 +01:00
Sopor
ee67996d1c tv4play: changed where to find the hls videos
fixes: #498
2016-11-10 08:32:29 +01:00
Johan Andersson
a9c6ad5e78 svtplay: don’t crash if we can’t find any video 2016-11-06 19:48:22 +01:00
Johan Andersson
1eb403a796 oppetarkiv: fix after last svtplay update. 2016-11-06 15:25:49 +01:00
Johan Andersson
2286ce6e02 svtplay: remove unused imports 2016-11-06 15:24:53 +01:00
Johan Andersson
fb0b1d74fe svtplay: no need for find_video_id 2016-11-06 15:10:38 +01:00
Johan Andersson
44bc008d07 svtplay: return direct if we can’t find video info 2016-11-06 14:55:43 +01:00
Johan Andersson
15a1fe2fcf svtplay: fix naming of filenames
fixes #481
2016-11-06 14:52:11 +01:00
Johan Andersson
d1ee50466b svtplay: use the same dash condition for all dash versions 2016-11-06 12:58:32 +01:00
Johan Andersson
41e5d8ef31 tv4play: don’t crash if we can’t find any streams
fixes #495
2016-11-06 12:58:06 +01:00
Johan Andersson
7c7542e709 tv4play: they changed the url for login
fixes #489
2016-10-31 19:30:28 +01:00
Johan Andersson
eeb589188c tv4play: better error message when we can’t decode json 2016-10-31 19:28:00 +01:00
Johan Andersson
7e551f6cfc viaplay: support for tv3play.tv3.ee and tvplay.skaties.lv 2016-10-31 19:20:18 +01:00
Johan Andersson
59456c799f svtplay: fix -A again after the svtplay move away from redux 2016-10-31 19:14:29 +01:00
Johan Andersson
4901d89cf6 viaplay: support for play.tv3.lt
fixes #482
2016-10-20 19:07:56 +02:00
Johan Andersson
17c1ff4b6d svtplay: they changed to key again so -A stopped working 2016-10-19 14:20:36 +02:00
Johan Andersson
1a99e0f947 sr: fix for their new site
fixes #467
2016-10-17 23:58:23 +02:00
Johan Andersson
fa590117de fetcher: handle errors from parsing playlists 2016-10-16 19:35:38 +02:00
Johan Andersson
16e1661efd svtplay: they changed the hostname for api calls
fixes #475
2016-10-16 19:20:42 +02:00
Johan Andersson
cd9b18c91e nrk: dont crash if we can’t find id 2016-10-06 22:51:54 +02:00
Johan Andersson
84d13a9f0c aftonbladet: download videos again 2016-10-06 22:46:40 +02:00
Johan Andersson
d0bca585e7 svtplay: fix so -A work again
fixes #466
2016-10-04 22:34:50 +02:00
Johan Andersson
72d0e2069a viaplay: workaround to detect episode number
fixes #461
2016-10-01 12:33:20 +02:00
Johan Andersson
4b79438ea7 viaplay: better support to detect videoid 2016-09-28 12:48:56 +02:00
Johan Andersson
fc9600b23b svtplay: support for dash segmented files 2016-09-26 00:43:23 +02:00
Johan Andersson
05d2987fee nrk: dont crash when the video is geoblocked 2016-09-19 20:39:27 +02:00
Johan Andersson
b156849495 svtplay: fix so sista-chansen work again
fixes #451
2016-09-15 08:53:49 +02:00
Johan Andersson
89789b843b viaplay: get the right id for the video and not the first one we see.
fixes: #450
fixes: #447
2016-09-14 20:52:14 +02:00
Johan Andersson
61b512849b svtplay: they started to use single quotes instead of double.
fixes #451
fixes #449
2016-09-14 18:55:33 +02:00
Johan Andersson
b1859b1f6b svtplay: support for alt streams
in some cases the akamai one does not work.
we should make this prettier..
2016-09-10 17:30:04 +02:00
Johan Andersson
7f8906ae3f pokemon: support for downloading videos 2016-09-04 20:44:25 +02:00
Johan Andersson
7c8cf96900 viaplay: dont expect the key to be 0. better to loop all keys instead.
fixes: #440
2016-09-03 18:39:49 +02:00
Johan Andersson
4ecb24d0ce riksdagen: Adding support
fixes: #436
2016-09-02 01:20:54 +02:00
Johan Andersson
37688133b9 nrk: they dont use https for the api call 2016-09-02 00:42:10 +02:00
Johan Andersson
4afc74c415 Merge pull request #403 from sveinhansen/master
Changes to nrk web pages:
2016-09-02 00:24:55 +02:00
Johan Andersson
31597808eb Merge pull request #434 from qnorsten/master
svtplay: added support for direct link to rss.xml with -A
2016-09-02 00:09:51 +02:00
Johan Andersson
36c9c08452 viaplay: dont run len on int's to check if its empty string
fixes #431
2016-09-02 00:06:31 +02:00
qnorsten
a12ff19606 svtplay: added support for direct link to rss.xml with -A 2016-08-24 00:42:49 +02:00
qnorsten
d2e9edf1e3 svtplay: Fix for sista-chansen. GridStore have been renamed GridPageStore. 2016-08-23 14:27:21 +02:00
Johan Andersson
5394a0f92c generic: support for finding m3u8 files in source tags 2016-08-23 01:01:31 +02:00
Johan Andersson
74eae8791f flowonline: add support for the site
fixes: #429
2016-08-23 00:59:57 +02:00
Anton
1825ad834e Update mtvnn.py 2016-08-22 15:32:04 +02:00
Johan Andersson
c799375e73 viaplay: more improvements for viafree with single videos
fixes #427
2016-08-21 01:08:39 +02:00
Johan Andersson
4d4ba7afac viaplay: some cases there is no episode info, use the video id instead. 2016-08-20 17:16:40 +02:00
Johan Andersson
3a788bcfae twitch: Add support for clips
fixes #426
2016-08-20 16:32:12 +02:00
Johan Andersson
f807e67425 svtplay: add support to download genre with -A
fixes: #312
2016-08-20 15:51:58 +02:00
Johan Andersson
2716f4bd22 viasatsport: detect live streams. 2016-08-20 15:15:25 +02:00
Johan Andersson
356cdff704 viasatsport: Adding support for vod-videos.
fixes: #200
2016-08-20 14:17:54 +02:00
Johan Andersson
ba35ec265b svtplay: Add support for sista-chansen with -A
fixes: #325
2016-08-20 13:52:19 +02:00
Johan Andersson
87d2b41a74 tv4play: fix login issue with latest update
fixes: #425
2016-08-20 12:46:54 +02:00
Johan Andersson
1ed9e2aaf2 filmarkivet: adding support for the site
fixes: #423
2016-08-17 19:53:56 +02:00
Johan Andersson
4374d1c38d viaplay: Better way to extract the right video id from the new site
fixes: #424
2016-08-17 00:43:34 +02:00
Johan Andersson
1775793387 viaplay: support for -A viafree sites 2016-08-15 22:46:32 +02:00
Johan Andersson
e0caf5c822 viaplay: add support for viafree.se 2016-08-15 19:32:52 +02:00
Johan Andersson
f8f25cf2a4 Merge remote-tracking branch 'qnorsten/master' into qnorsten 2016-07-24 12:15:11 +02:00
Johan Andersson
6f6bf04e05 aftonbladet: use aptomaVideoId for videoId.
fixes: #416
2016-07-13 19:59:24 +02:00
Johan Andersson
dfcae7456e svtplay: in some cases there is no season slug for videos 2016-07-11 10:44:33 +02:00
Johan Andersson
0ae031b8ac tv3play: fix all downloads if it more than one seaon
fixes: #389
2016-06-30 01:20:39 +02:00
Johan Andersson
12f8a47415 svtplay: download all episodes with 'visa fler'
fixes: #407
2016-06-30 01:20:31 +02:00
Johan Andersson
421f53f099 dplay: support for other languages in subtitles
fixes: #410
2016-06-30 01:20:12 +02:00
Rabin Vincent
ddeec9e90b dr: support --all-episodes 2016-06-30 00:08:42 +02:00
Svein Hansen
c2d8d64e99 Changes to nrk web pages:
Simpler html-parsing
Fixed subtitle support
2016-06-09 22:21:11 +02:00
Johan Andersson
cf7380211f mtvnn: add support for nickelodeon.dk
fixes #394
2016-06-02 00:54:35 +02:00
Johan Andersson
b298e823eb nrk: add some error checks if geoblocked 2016-06-01 22:15:45 +02:00
Johan Andersson
704fc6dee8 disney: move down the exclude so it catch the new name 2016-06-01 22:11:01 +02:00
Svein Hansen
56a404686a tv.nrk.no website html change. Error when finding the video id. 2016-05-26 23:09:47 +02:00
Johan Andersson
fa730a5564 remove options in argument for exclude 2016-05-14 22:54:30 +02:00
Johan Andersson
c324374ba7 service: exclude should use options in the class 2016-05-14 22:41:33 +02:00
Johan Andersson
af66859dd5 get_one_media: move force_subtitle to main function
with this it will work for every site with subtitles
2016-05-14 22:38:23 +02:00
qnorsten
a774a8052b Merge branch 'master' of https://github.com/spaam/svtplay-dl.git into rawsubs
# By Johan Andersson (7) and qnorsten (4)
# Via Johan Andersson (2) and qnorsten (1)
* 'master' of https://github.com/spaam/svtplay-dl.git:
  urplay: dont crash when there is no label
  twitch: Fix so we can get live url again
  fetcher: dont print newline when its silent
  main: add dash in the help text for preferred
  tv4play: free videos with premuim showed up as None
  tv4play: fix unicode errors in showname
  Fixed missing space error
  Some minor code improvments
  postprocess: ext includes dot before fileextention
  Updated gitignore
  Added support for subfix in filename of subtitles, when several languages are available Added command to download all available subtitles for a video (--all-subtitles) Added support to print all the subtitle urls when the get url parameter is used Fixed so subtitle url and stream url get printed if -S and -g but not --force-subtitles parameter is used Added support for downloading all subtitles and auto subfix them with language name for Urplay and Urskola (even when just one subtitle is downloaded)
2016-05-03 22:43:57 +02:00
Johan Andersson
f49354387a urplay: dont crash when there is no label 2016-05-03 20:35:16 +02:00
Johan Andersson
435e58436e Merge pull request #379 from qnorsten/master
Added support for download of all available subtitles on a video
2016-05-03 20:18:32 +02:00
Johan Andersson
45be38c39d twitch: Fix so we can get live url again
fixes: #385
2016-05-02 22:26:30 +02:00
Johan Andersson
5cf6e0fe45 tv4play: free videos with premuim showed up as None 2016-04-30 14:10:43 +02:00
Johan Andersson
03a6307f38 tv4play: fix unicode errors in showname
fixes: #336
2016-04-30 13:54:26 +02:00
qnorsten
162901b263 subtitle: added command --all-subtitle to download all available
subtitles.
subtitle: Added support for subfix in subtile filename.
urplay: added support to download more than 1 subtitle
Added support to print all the subtitle urls when the get url parameter is used
Fixed so subtitle url and stream url get printed if -S and -g but not --force-subtitles parameter is used
Added support for downloading all subtitles and auto subfix them with language name for Urplay and Urskola (even when just one subtitle is downloaded)
2016-04-29 11:41:34 +02:00
qnorsten
56e07188ee Added support for subfix in filename of subtitles, when several languages are available
Added command to download all available subtitles for a video (--all-subtitles)
Added support to print all the subtitle urls when the get url parameter is used
Fixed so subtitle url and stream url get printed if -S and -g but not --force-subtitles parameter is used
Added support for downloading all subtitles and auto subfix them with language name for Urplay and Urskola (even when just one subtitle is downloaded)
2016-04-27 10:37:47 +02:00
Johan Andersson
92b734daab urplay: fix scrape so it works again
this fixes: #374
2016-04-26 23:22:59 +02:00
Johan Andersson
e5059afb7a tv4play: add client to post data 2016-04-19 21:58:11 +02:00
Johan Andersson
fcbcb25fce picsearch: new type of embedded video 2016-04-19 21:08:17 +02:00
Johan Andersson
6d79ce9c04 tv4play: new url for login 2016-04-19 21:06:51 +02:00
Olof Johansson
5393dc1929 Fix various pylint warnings
None of these were any real problems, but easier to spot real issues if pylint
is a bit quieter. Apart from the pylint overrides being sprinkled over the code
base, this commit also fixes occurences of the following issues:

 - logging-not-lazy
 - logging-format-interpolation
 - unused-import
 - unused-variable
2016-04-03 19:06:45 +02:00
Johan Andersson
1627abc956 tv4play: show an error message when the video is not there 2016-03-27 13:02:49 +02:00
Johan Andersson
f92e94a8d2 expressen: update way to download the videos 2016-03-27 12:49:27 +02:00
Johan Andersson
e523141a04 support for dash streams 2016-03-26 21:38:31 +01:00
Johan Andersson
78ceb3c669 dplay: check 401 if we are geoblocked 2016-03-23 00:22:37 +01:00
Johan Andersson
cad24eebd4 svtplay: it should be parse.path to detect klipp 2016-03-22 22:26:15 +01:00
Johan Andersson
b9c8851ab1 svtplay: more ways to detect embedded videos or clips 2016-03-20 23:21:21 +01:00
Johan Andersson
ab2741f6bf solidtango: more ways to detect solidtango 2016-03-20 21:04:09 +01:00
Johan Andersson
ab3646e4e2 tv4play: dont encode the showname 2016-03-20 19:15:51 +01:00
Johan Andersson
67fa41fcc5 tv4play: they change the name from user_name to username 2016-03-20 18:40:24 +01:00
Johan Andersson
260bd6c5c6 tv4play: wrong user/passwd crashes the script.
exception handling cant handle unicode on py2
2016-03-20 18:35:53 +01:00
Johan Andersson
a32074dbbe urplay: support for urskola
fixes: #358
2016-03-20 18:21:07 +01:00
Johan Andersson
ca6bb5c9c0 picsearch: more ways to detect the service 2016-03-20 18:20:19 +01:00
Johan Andersson
05a20520b0 svtplay: fix embedded videos on svt.se 2016-03-17 16:57:58 +01:00
Johan Andersson
d3b0e106c3 generic: download embedded picsearch videos
fixes: #356
2016-03-16 22:50:43 +01:00
Johan Andersson
af70db9431 generic: download embedded lemonwhale videos
fixes: #355
2016-03-16 22:47:03 +01:00
Johan Andersson
ef22f9885e generic: service need one more argument 2016-03-16 19:36:40 +01:00
Johan Andersson
2bb8f82287 lemonwhale: add support for vk.se 2016-03-16 18:58:17 +01:00
Johan Andersson
65dc028a9e svtplay: öppetarkiv cant find program name sometimes
fixes: #348
2016-03-15 21:19:04 +01:00
Johan Andersson
b31d52390e nrk: support for tv.nrksuper.no
fixes: #346
2016-03-15 21:19:04 +01:00
Johan Andersson
eb5e2fe5d4 dplay: new way to detect video id
fixes: #347
2016-02-29 23:18:27 +01:00
Johan Andersson
8a4469c810 Anomalous backslash in string fixes 2016-02-22 20:43:57 +01:00
Johan Andersson
55d811286d solidtango: support for embedded and videos on solidtango.com
fixes: #343
2016-02-19 21:29:49 +01:00
Johan Andersson
013b6d1d82 dplay: support for all_last episodes
fixes: #329
2016-02-07 22:16:45 +01:00
Johan Andersson
293b6ae7e5 dplay: better show a error message instead of crashing 2016-02-07 20:44:03 +01:00
Johan Andersson
8db85270c8 dplay: better support for .dk, .no sites
fixes #339
2016-02-07 20:43:51 +01:00
Johan Andersson
e1459fab2f svtplay: need to encode the string before hashing it
fixes #344
2016-02-07 20:10:36 +01:00
Johan Andersson
901ae80c88 unused import 2016-02-07 10:44:49 +01:00
Johan Andersson
595d5a97ac efn: unused variable 2016-02-07 10:44:38 +01:00
Johan Andersson
70254e3429 unused imports 2016-02-07 10:41:43 +01:00
Johan Andersson
4b6393c060 dplay: change to “is” instead of == 2016-02-07 10:32:47 +01:00
Johan Andersson
4e88894f0c remove some empty lines. 2016-02-07 10:28:07 +01:00
Johan Andersson
1fa3204374 viaplay: we should get the subtitle after we set name
fixes #341
2016-02-07 10:25:49 +01:00
Johan Andersson
219a134069 tv4play: dont quote unicode strings
fixes #336
2016-01-27 19:28:37 +01:00
Johan Andersson
9274870f81 svtplay: unused import 2016-01-10 20:58:30 +01:00
Johan Andersson
caf936947f svtplay: update the data from the new vid 2016-01-10 20:43:10 +01:00
Johan Andersson
5d61cb9371 svtplay: use the data we already have 2016-01-10 20:42:23 +01:00
Johan Andersson
00114f6750 svtplay: another videoid from the url 2016-01-10 20:36:13 +01:00
Johan Andersson
e895e02d70 svtplay: move find video id into its own function 2016-01-10 20:36:13 +01:00
Johan Andersson
1ddaad7beb öppetarkiv: all episodes need option 2016-01-07 17:18:38 +01:00
Johan Andersson
1481e7effd tv4play: fix so we can download normal shows again
fixes #320
2016-01-03 15:10:24 +01:00
Johan Andersson
c5460b999d svtplay: dont include other in the filename
Sometimes other is the same as name.
fixes #319
2016-01-03 02:43:23 +01:00
Johan Andersson
e0ad3b9967 svtplay: öppetarkiv still use the old names for format 2016-01-03 02:43:23 +01:00
Johan Andersson
2901305818 mtvnn: fix support for downloading every episode
fixes: #316
2016-01-01 14:09:44 +01:00
Johan Andersson
4e24870519 disney: support for disney junior
fixes #317
2016-01-01 13:18:08 +01:00
Johan Andersson
4237021bc7 svtplay: it should be websrt and not wsrt 2015-12-28 11:41:39 +01:00
Johan Andersson
0a20279a94 svtplay: we should check if the user is using svtplay.se 2015-12-28 11:41:15 +01:00
Johan Andersson
cfea570432 svtplay: use sha256 of the version string as id 2015-12-27 20:55:10 +01:00
Johan Andersson
66898565b3 svtplay: support for the next version of the page.
video id is left to fix... dunno how to do it in a good way
2015-12-27 14:40:27 +01:00
Johan Andersson
ef74148003 Option to not verify ssl certificate 2015-12-26 12:14:14 +01:00
Johan Andersson
dd67365150 kanal5 is gone. long live dplay 2015-12-26 11:55:11 +01:00
Johan Andersson
b5ea350c0f Move options to when we init the service class 2015-12-26 11:46:14 +01:00
Johan Andersson
7dea8c80ba tv4play: detect which program the video belongs too.
fixes #313
2015-12-15 00:43:44 +01:00
Johan Andersson
d0e6d8584c tv4play: find id for clips too
fixes #313
2015-12-15 00:30:40 +01:00
Johan Andersson
4240cc0e6f dplay: support for dplay.dk and it.dplay.com 2015-11-29 22:50:15 +01:00
Johan Andersson
e9ab24f687 facebook: update path for video 2015-11-29 16:46:24 +01:00
Johan Andersson
fb4de6fb3b mtvnn: support for comedycentral.se
this fixes #306
2015-11-29 16:46:24 +01:00
Johan Andersson
144b79e1b8 picsearch: detect live video 2015-11-29 16:46:24 +01:00
Johan Andersson
a6a3cfce18 dplay: dont crash when accessing a program page instead of video 2015-11-29 16:46:24 +01:00
Björn Dahlgren
4d972063d2 Fixed TV4Play geoblock error text
Fixes: #308
2015-11-23 18:54:07 +01:00