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

2041 Commits

Author SHA1 Message Date
Johan Andersson
e0632cd99c tv4play: improve error message about user / password 2023-06-18 16:37:19 +02:00
Johan Andersson
e7151d61df urplay: -A will work with single videos 2023-06-18 13:02:53 +02:00
Johan Andersson
0eb5565cad tv4play: new update.
need to login to access videos now.
2023-06-18 12:46:44 +02:00
Johan Andersson
d35796ff66 utils.stream: forgot .get to fetch the config value 2023-06-02 20:26:32 +02:00
Johan Andersson
485f3fa6d8 postprocess: remove file when only use merge subtitles
In some cases we could end up with two subtitles
but we only have "one" subtitle. like one from HLS and one from
a different way.
2023-06-01 21:11:31 +02:00
Johan Andersson
9387fe6c2c m3u8: dont set encrypted stream with no URI 2023-06-01 20:37:07 +02:00
Johan Andersson
6d2a02c756 svtplay: genre switched to kategori 2023-05-11 21:19:29 +02:00
Johan Andersson
c2ee949415 svtplay: support for lists 2023-05-11 20:05:37 +02:00
Johan Andersson
a7eb33b6c0 picsearch: fix so dn.se videos work
removed a bunch of old stuff
2023-05-11 19:00:17 +02:00
Johan Andersson
7882f6ddf1 utils.http: increase number of headers
akamai seems to add a bunch of headers for some reason
2023-04-19 03:30:09 +02:00
Johan Andersson
ce43d1ba4a Update user-agent to something newer 2023-04-19 03:30:06 +02:00
Johan Andersson
46077b7cd2 svtplay: improve detection of episode number 2023-04-09 21:32:39 +02:00
Johan Andersson
cbfd09f6b0 stream.resolution: using config the value is int
we want this to be an string
2023-03-30 22:12:43 +02:00
Johan Andersson
5587062181 subtitles: add support for encrypted subs
this need to be done better...
2023-03-16 22:24:10 +01:00
Johan Andersson
32356ddba7 svt: fix so it works 2023-03-16 22:23:02 +01:00
Johan Andersson
251688e7a8 subtitle: add support for two digit timestamps 2023-03-15 06:55:35 +01:00
Johan Andersson
355c7bb512 urplay: they added support for 1080p 2023-03-15 06:53:24 +01:00
Johan Wassberg
85ef17ddcb Fix tv4.se
Was forgotten or not affected in 77a6f03.
2023-03-13 18:32:28 +01:00
Tor Andrae
b87aee00f5 If season is not found fallback to production year as season 2023-03-13 18:30:23 +01:00
Johan Andersson
fd0ad54ecb wrstsegments: remove sequence number 2023-01-10 23:05:28 +01:00
Johan Andersson
77c9b0da98 wsrt_colors: break out this to its own function
this will be used with the segmented stuff
2022-12-22 09:06:34 +01:00
Johan Andersson
b581196957 wsrtsegmented: dont skip over a bunch of text
for some reason this code skipped over the first lines in a single
segmented file and the end of it.
2022-12-22 09:05:03 +01:00
Johan Andersson
dd0f1f8a9e subtitle: probe the subs
this will hopefully fix some subs switching from one type
to another one.
2022-12-10 14:05:56 +01:00
Johan Andersson
757c571a48 svtplay: support for old subtitles
they seems to switch from new to the old one now
2022-12-01 01:12:29 +01:00
Johan Andersson
73d2bb7831 svtplay: fix subtitles 2022-11-30 22:40:08 +01:00
Johan Andersson
6cf94c93eb output.sanitize: windows windows windows.. 2022-11-21 14:22:51 +01:00
Johan Andersson
94eb8543f7 svtplay: dont process hls-cmaf-full 2022-11-21 14:06:32 +01:00
Johan Andersson
2c16302f25 output: sanitize the filename a little 2022-11-21 14:05:36 +01:00
Johan Andersson
8950be8eec tv4play: New month, they updated their site again 2022-11-14 17:39:44 +01:00
Johan Andersson
a188104e30 Update versioneer to 0.28 2022-11-05 10:42:32 +01:00
Johan Andersson
872d6bcb8c tv4play: they changed the json stuff 2022-10-24 13:04:47 +02:00
Yan
1c9dcfa403 make: just for looks
Editor didn't treat the lone "'" right...
2022-10-07 12:02:51 +02:00
Yan
213e6bfa41 make: report correct dir when lib/.build is present
Now correctly shows
ERROR: build already in progress? (or remove /src/svtplay-dl/lib/.build/)
instead of
ERROR: build already in progress? (or remove /src/svtplay-dl/.build/)

Makes it easier to find the culprit. ;)
2022-10-07 12:02:51 +02:00
Johan Andersson
248b1d9270 tv4play: improve detection of geoblocking
for some reason tv4 sends http 500 when the video is geoblocked
2022-09-01 17:18:57 +02:00
Johan Andersson
29809470c8 filenamify: replace two dots with one 2022-08-28 23:22:04 +02:00
Johan Andersson
16af7a3111 parser: add filename template argument
this was only exposed via config before
2022-08-28 23:18:02 +02:00
Johan Andersson
1f55acc3d4 nrk: update to make it work again 2022-07-09 14:26:53 +02:00
Johan Andersson
270105e3af pluto.tv: try to find what hls to use
in some cases they have several entries for the same
show. one is working. one is not. random place in the list
2022-07-09 12:56:15 +02:00
Johan Andersson
48f376a285 postprocess: improve audio-only
when HLS only have audio this failed
2022-07-03 13:25:42 +02:00
Johan Andersson
a292df838e plutotv: rewrite and fix season/episode number 2022-07-02 02:33:16 +02:00
Johan Andersson
c936b334fe subtitle: remove debug code 2022-06-20 14:41:48 +02:00
Johan Andersson
c547125921 filter_files: increase the ratio to 0.7
0.6 was to low because it was good enough for the first
entry and the ads
2022-06-18 21:23:37 +02:00
Johan Andersson
8f9552e0f5 remove debug print.. 2022-06-10 21:33:34 +02:00
Johan Andersson
dc77e8f046 subtitle: wsrtsegment work with 0 time 2022-06-10 21:29:21 +02:00
Johan Andersson
6bd9be5555 urplay: add support for only audio streams 2022-06-09 21:56:37 +02:00
Johan Andersson
578b7f2754 add support for only audio when its one media file 2022-06-09 21:55:53 +02:00
Johan Andersson
7cdb7f2345 hls.subtitle: use the correct playlist 2022-06-06 10:34:44 +02:00
Johan Andersson
301d57d090 test.hls: fix filename 2022-06-05 17:46:45 +02:00
Johan Andersson
eac21b3979 m3u8: add support for ext-x-byterange x-map
add tests for x-map ext-byte-range
2022-06-05 17:44:11 +02:00
Johan Andersson
5cb26d20a8 Move filter_files to its own file 2022-06-04 00:45:55 +02:00
Johan Andersson
911d222159 Add support for pluto.tv 2022-06-04 00:34:35 +02:00
Johan Andersson
bdc0724906 Add support for filter files 2022-06-03 06:19:01 +02:00
Johan Andersson
d5956faf3c fetcher: print resolution also 2022-06-03 06:19:01 +02:00
Johan Andersson
1b74c3a862 stream.resolution: dont crash on no resolution info 2022-06-03 06:19:01 +02:00
Johan Nilsson
7dc0b3bb6e Fixes better language on error message when there's no video file found. 2022-06-04 00:33:17 +02:00
Johan Andersson
cf5b774d8e Add --resolution argument 2022-05-13 08:36:34 +02:00
Johan Andersson
a1ed05bfeb cosmetic fix 2022-05-11 21:21:18 +02:00
Johan Andersson
6ebdf50d71 tv4play: update the service 2022-05-05 00:39:51 +02:00
Johan Andersson
4a2e11f351 solidtango: update to make it work on their sports page
they have updated their site to use a better api stuff

fixes: #1467
2022-04-17 00:08:26 +02:00
Johan Andersson
4bf49f160c config: fix so proxy option work
for some reason i forgot these special
settings for config values.

fixes: #1463
2022-03-31 23:53:57 +02:00
Johan Andersson
36a087aba3 subtitle.wrst: tests 2022-03-26 09:46:33 +01:00
Johan Andersson
4815feb196 subtitle.wrst: handle styles in the subtitle 2022-03-26 08:56:56 +01:00
Johan Andersson
29f9f8fd82 Angelstudios: add support for it 2022-03-19 23:24:08 +01:00
Johan Andersson
005a39979f dr.dk: add support for bonanza videos
fixes: #1458
2022-03-19 19:25:25 +01:00
Johan Andersson
0ef9d1fa6d update versioneer 2022-03-16 22:28:08 +01:00
Johan Andersson
f7b3d1b135 getmedia: this should only be two arguments 2022-02-21 13:57:23 +01:00
Johan Andersson
18009e7dc3 pylint fixes 2021-12-19 13:40:15 +01:00
Johan Andersson
e20d753a15 logging f-strings fixes 2021-12-18 21:36:16 +01:00
Johan Andersson
96544ae2f8 fix some return values 2021-12-18 21:32:41 +01:00
Johan Andersson
091e84659c update versioneer 2021-12-18 19:52:37 +01:00
Johan Andersson
0f9e1908c7 f-string fixes 2021-12-18 19:52:08 +01:00
Johan Andersson
6966876384 tv4play: fix so find all episodes work 2021-12-15 20:17:11 +01:00
Johan Andersson
5a4a07b71e discoveryplus: show a error message that this service got DRM now 2021-12-15 20:15:48 +01:00
iwconfig
aee5d90f0f parser: -M does not necessarily imply -S 2021-12-09 20:42:50 +01:00
iwconfig
f3d8371eb5 parser: updated help descriptions of -S and -M if used together 2021-12-09 20:42:50 +01:00
iwconfig
487da6b643 postprocess: add comment about use of -S and -M 2021-12-09 20:42:50 +01:00
iwconfig
4c90677089 Revert "postprocess: when merge subtitle into file remove it"
This reverts commit a03fabc5ab.
2021-12-09 20:42:50 +01:00
Johan Andersson
14e1e6585c subtitle.tt: return empty string
in some cases the xml is empty
2021-12-09 20:38:47 +01:00
Johan Andersson
d9209f843e svtplay: dont download related videos with -A
fixes: #1443
2021-11-24 22:56:24 +01:00
Johan Andersson
6d821ae60e koket: update so it work again 2021-11-23 23:33:51 +01:00
Johan Andersson
5f5079de6c urplay: grab the thumb from json
sometimes it seems like the og:image to
be bad or 404.
2021-11-13 14:31:47 +01:00
Johan Andersson
4f2fa55f6a discoveryplus: spelling 2021-11-10 10:37:15 +01:00
Johan Andersson
95045abc8c viafree: dont crash on empty video info 2021-11-10 10:34:17 +01:00
Johan Andersson
b5694e4d07 svtplay: check for validFrom in the correct place 2021-11-07 11:20:21 +01:00
Johan Andersson
4cb985a03c formatname: add support for subfolder and output directory
before it only worked if you had subfolder.
when you added output as a directory it would override the
subfolder content
2021-10-31 15:23:26 +01:00
Johan Andersson
4796e618f8 postprocess: we should use the filename without extension 2021-10-31 02:42:35 +02:00
Johan Andersson
d44a838298 postprocess: use a different function to detect ffmpeg.exe
the previous function said it was a file but there was none
2021-10-30 14:24:44 +02:00
Johan Andersson
c5d52ec202 hls: add init file in m3u8 instead of download section 2021-10-30 12:48:31 +02:00
Johan Andersson
f97d838412 svtplay: revert change to only use cmaf files 2021-10-30 12:37:52 +02:00
Johan Andersson
9d5b6de59a urplay: update the detection 2021-10-30 12:05:08 +02:00
Johan Andersson
04fce0bd77 svtplay: this happen when a video have been unpublished
the page is up but the video is gone
2021-10-29 09:47:06 +02:00
Johan Andersson
a03fabc5ab postprocess: when merge subtitle into file remove it
fixes: 1427
2021-10-27 14:54:01 +02:00
Johan Andersson
b8d51a7dcd svtplay: they updated their site again
fixes: #1429
2021-10-27 14:52:36 +02:00
Johan Andersson
e79bb2b3d3 dr: support for segmented vtt subs 2021-10-20 15:01:07 +02:00
Johan Andersson
d8f5e5157b dr: dont crash on files without subs 2021-10-20 15:00:24 +02:00
Johan Andersson
1cf16a91a4 viafree: add missing self 2021-10-19 21:52:19 +02:00
Johan Andersson
c4540927be viafree: use same json grab 2021-10-18 16:23:59 +02:00
Johan Andersson
163df0ea14 tv4play: update the regex to catch the json stuff we need 2021-10-18 16:22:48 +02:00
Johan Andersson
7a01f041b3 tv4play: override thumbnail download
in some videos they dont have og:image
2021-10-18 16:22:02 +02:00
Johan Andersson
adcaa73210 postprocess: support for finding ffmpeg in same directory
this will be helpful on windows if you dont have ffmpeg in
your PATH. it will look for ffmpeg in same directory
as svtplay-dl.exe.
2021-09-22 20:49:24 +02:00