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

1310 Commits

Author SHA1 Message Date
qnorsten
de0fa8a715 svtplay: Add syntolkat and teckentolkat to filename
svtplay: Readds syntolkat and teckentolkat to autogenerated filename. 
Solves https://github.com/spaam/svtplay-dl/issues/542
2017-02-03 09:32:27 +01:00
qnorsten
c781bd1bb8 svtplay: Add support for tabs and --include-clips
svtplay: Adds support for --include-clips as well as support to just download one tab of episodes by using ?tab="tab" in url. 
This should fix https://github.com/spaam/svtplay-dl/issues/549, https://github.com/spaam/svtplay-dl/issues/514 and https://github.com/spaam/svtplay-dl/issues/480
2017-02-02 15:57:52 +01:00
qnorsten
ac864643cd Viafree: Added support for --include-clips
Added support for --include-clips for viafree
2017-02-02 14:20:33 +01:00
qnorsten
d8a34c1fe9 main: Add include-clips command to include clips when combined with -A
Added --include-clips command to include clips when used togheter with -A
2017-02-02 14:17:18 +01:00
qnorsten
95c668cbe0 svtplay: do not try to use ProgramTitle in filename if it is None
fix crash for svtplay, that occurs when generating automatic filename and ProgramTitle is undefined.
2017-02-01 13:19:59 +01:00
Johan Andersson
a72282e44b viafree: don't try to access videos that don't exists
fixes: #547
2017-02-01 11:06:01 +01:00
Johan Andersson
7c7565ea5d svtplay: using -A will try to download same episode twice
fixes: #543
2017-01-31 23:42:04 +01:00
Johan Andersson
41b826cee0 dash: dont use the the same init file for every video.
fixes: #545
2017-01-31 23:40:40 +01:00
Johan Andersson
743c8d53fd options.flexibleq: this value should be 0 as default. 2017-01-28 12:10:50 +01:00
Johan Andersson
dc2dc7dc62 New version 1.9.1 2017-01-27 02:14:20 +01:00
Johan Andersson
be471e9aab svtplay: fix subtitles after the change on svtplay.se
fixes #535
2017-01-27 02:10:46 +01:00
Johan Andersson
76956610c8 picsearch: sometimes we don't get the video in player api
fixes: #527
2017-01-27 02:02:57 +01:00
Johan Andersson
3b8819a0eb solidtango: detect hls video in a new way 2017-01-27 01:19:47 +01:00
Johan Andersson
f1b8949ab2 dplay: fix a crash when show name have weird unicode character
fixes #529
2017-01-26 22:33:32 +01:00
Johan Andersson
dac1b66ce4 svtplay: fixing some crashes after latest update.
fixes #528
2017-01-26 21:54:58 +01:00
Johan Andersson
f38e8403a2 mutliargs: using -A creates bad output names.
using -A creates an directory with the first files name for the second argument which is wrong.

fixes #525
2017-01-22 10:49:43 +01:00
Johan Andersson
6dec190df0 New version 1.9 2017-01-21 15:00:19 +01:00
Johan Andersson
4de8f8b451 Merge pull request #512 from mutoso/master
Allow multiple URLs as arguments
2017-01-20 15:50:12 +01:00
Johan Andersson
ea3041cf08 postprocess: we need to open the file as enc=utf8 on windows py3
fixes #521
2017-01-15 12:29:40 +01:00
Alastair Feille
b1987aee88 Account for -o option when using multiple URLs 2017-01-03 21:20:50 -06:00
Johan Andersson
0f99956d62 postprocess: don’t crash on åäö in filename
fixes #517
2017-01-02 21:09:35 +01:00
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
a82f1f9080 Output: do not add double extension when using --raw-subtitles
Should fix https://github.com/spaam/svtplay-dl/issues/509 
Prevents the subtitle file from getting the raw exstension also e.g subtitle.wsrt.srt
2016-12-21 00:06:51 +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
Alastair Feille
4cf6f210e0 Allow multiple URLs as arguments 2016-12-15 19:40:33 -06: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
ab3907a0ff output: dont overwrite end of the filename when its auto generated
fixes #469
2016-12-06 22:09:27 +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
18a9a1bcf5 subtitle: dont double encode utf8
fixes: #507
fixes: #501
2016-12-05 20:45:14 +01:00
Johan Andersson
3173beef4a viaplay: check if its vtt or sami 2016-12-05 19:57:57 +01:00
Johan Andersson
ec0f2a4feb subtitle: use HTTP from utils instead of requets. 2016-12-05 19:55:04 +01:00
Johan Andersson
80992f8664 postprocess: return und if we cant get the right language 2016-12-05 19:36:00 +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
Johan Andersson
0c1159e171 New version 1.8 2016-11-14 23:53:49 +01:00
Johan Andersson
b08d593556 subtitle: don’t crash if we cant download subtitle
show a warning that we cant download it.
2016-11-14 21:51:39 +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
3bd5f498c6 dash: don’t overwrite the init file 2016-11-05 18:51:21 +01:00
Linus Karlsson
c436e4c381 subtitle.tt: fix error when calculating end time. 2016-11-01 23:19:54 +01:00
Johan Andersson
c038c67af3 dash: in some cases the SegmentTemplate is inside of Representation class. 2016-11-01 01:49:49 +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
060cd5e06a New version 1.7 2016-10-18 00:01:08 +02:00
Johan Andersson
1a99e0f947 sr: fix for their new site
fixes #467
2016-10-17 23:58:23 +02:00
Johan Andersson
b4768ef2f1 subtitle.sami: don’t try to decode None
fixes: #477
2016-10-17 21:40:20 +02:00
Johan Andersson
5109c38dc6 hls: don’t crash when we can’t find bandwidth key
fixes #473
2016-10-16 19:50:30 +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
e943e6bc5b New release 1.6 2016-10-06 22:52:50 +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
9dc52589b9 dash: support for segmented files
fixes #448
2016-09-26 00:42:42 +02:00
Johan Andersson
8067e4d05d New release 1.5 2016-09-19 20:44:58 +02:00
Johan Andersson
05d2987fee nrk: dont crash when the video is geoblocked 2016-09-19 20:39:27 +02:00
Johan Andersson
74ff9359dd dashparse: don’t crash when we can’t find BaseURL 2016-09-17 19:43:03 +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
766fd34d62 New release 1.4 2016-09-10 17:37:07 +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
f8eb0b8a45 fetcher: dont crash if we cant read the playlists
fixes #446
2016-09-09 22:56:05 +02:00
Johan Andersson
0cb152edef postprocess.sublanguage.parse: in py3 map return an iterator but we want a list
fixes #444
2016-09-07 17:31:14 +02:00
Johan Andersson
86c5bd3776 New release 1.3 2016-09-06 00:25:54 +02:00
Johan Andersson
6b2c860279 Update .pod file 2016-09-06 00:23:14 +02:00
Johan Andersson
7f8906ae3f pokemon: support for downloading videos 2016-09-04 20:44:25 +02:00
Johan Andersson
bdf7a181ea hls: if the file start with / add hostname to it. 2016-09-04 20:43:37 +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
cd4506be8e hds: some cases we need to encode the playlist as str for py2 2016-08-17 00:43:24 +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
31aaf468c0 subtitle: decode some htmlentities in sami
fixes #421
2016-08-01 21:02:38 +02:00
Johan Andersson
ce367f2b3e main: rewrite some code so it easier to read 2016-08-01 20:55:19 +02:00
Johan Andersson
b295d4f2b0 main: improve output help text
show that we can output to a folder too.
fixes #419
2016-08-01 20:43:24 +02:00
Johan Andersson
9a0eda8b90 spell fixes 2016-08-01 20:40:46 +02:00
Johan Andersson
f8f25cf2a4 Merge remote-tracking branch 'qnorsten/master' into qnorsten 2016-07-24 12:15:11 +02:00
Johan Andersson
75c94a6acd Merge pull request #414 from iwconfig/patch-1
Support for merging subtitles with corresponding ISO639-3 language code
2016-07-24 11:50:47 +02:00
Johan Andersson
6f6bf04e05 aftonbladet: use aptomaVideoId for videoId.
fixes: #416
2016-07-13 19:59:24 +02:00
iwconfig
91cc1a18a2 Fixed minor bug with manual mappings options for ffmpeg
also a tiny cleanup
2016-07-11 23:05:03 +00:00
Johan Andersson
dfcae7456e svtplay: in some cases there is no season slug for videos 2016-07-11 10:44:33 +02:00
iwconfig
c5eea95c3f Now --remux is on by default with --merge-subtitle.
Also fixed small bug when using --all-subtitles with only one available
subtitle.
2016-06-30 23:57:27 +00:00
iwconfig
3c1d45a37c Fixed issue with --force-subtitle.
--force-subtitle and -S did not respect each other but now it is
working as it should. If --force-subtitle is used with -S it downloads
only the subtitles, and if --force-subtitle is used alone it overwrites
the existing subtitles and continues with the audio/video stream.
2016-06-30 23:57:27 +00:00
iwconfig
4e63c15ef9 Added -M, --merge-subtitle to merge subtitle(s).
The option gets the correct ISO639-3 language code using my own simple
language detection api, and merges with correct metadata using ffmpeg.
If ffmpeg is not installed an error message is raised since avconv
doesn't seem keep up with ffmpeg.

I also did a little cleanup in postprocess().
2016-06-30 23:57:27 +00: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
8973f19bf7 New release 1.2 2016-06-03 00:12:08 +02:00
Johan Andersson
d8b2b8efa6 timestr: leading zero in single digit 2016-06-03 00:09:11 +02:00
Johan Andersson
f0fe1638eb output: print which filename exists while printing the error message
fixes: #391
2016-06-02 23:56:41 +02:00
iwconfig
4f6c4821d7 remux only if file is not mp4 2016-06-02 01:47:25 +02:00
Johan Andersson
cf7380211f mtvnn: add support for nickelodeon.dk
fixes #394
2016-06-02 00:54:35 +02:00
Johan Andersson
10a259982e smi: it should be three decimals and not two
this fixes #398
2016-06-01 22:54:11 +02:00
Johan Andersson
c0b4d278b4 sami: dont crash on &
this fixes #396
2016-06-01 22:43:39 +02:00
Johan Andersson
b298e823eb nrk: add some error checks if geoblocked 2016-06-01 22:15:45 +02:00
Johan Andersson
53d702708b get_one_media: include version crash 2016-06-01 22:11:01 +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
Johan Andersson
23814a9bf5 select_quality: fix crash while using range
fixes: #392
2016-05-14 11:17:34 +02:00
qnorsten
24a1789949 subtitles: --convert-subtitle-colors command added to convert color information in wsrt subtitle files to <font color=""> tags. 2016-05-09 15:10:58 +02:00
qnorsten
4b9cd2a954 Merge branch 'master' of https://github.com/spaam/svtplay-dl.git
# By Johan Andersson (7) and qnorsten (1)
# Via Johan Andersson
* 'master' of https://github.com/spaam/svtplay-dl.git:
  New release 1.1
  Update makefile version number
  makefile: fix a sed error
  diff_man: detect extented regex for sed
  Add new agruments to pod file
  main: move all-subtitles to the rest of subtitles agruments
  Add a silent-semi argument
  get_one_media: added missing checks if subtitles exists before trying to print url using -g
2016-05-05 17:08:45 +02:00
Johan Andersson
c6abc2e6d9 New release 1.1 2016-05-05 14:02:03 +02:00
Johan Andersson
468f36c62c main: move all-subtitles to the rest of subtitles agruments 2016-05-05 12:34:05 +02:00
Johan Andersson
7a29dcb65a Add a silent-semi argument
It that will only print error, warning and
when the file is downloaded.
2016-05-05 11:34:10 +02:00
qnorsten
7d575ee382 get_one_media: added missing checks if subtitles exists before trying to print url using -g 2016-05-05 10:38:43 +02:00
qnorsten
f807f48b7a get_one_media: added missing checks if subtitles exists before trying to print url using -g 2016-05-05 09:46:12 +02:00
qnorsten
5871f81695 output: removed unnecessary print 2016-05-05 01:26:38 +02:00
qnorsten
507bb3cf31 output: wrst now detected as extension. srt file no longer named .wrst.srt when saving raw subtitle from SVT-play. 2016-05-04 09:44:56 +02:00