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

106 Commits

Author SHA1 Message Date
Johan Andersson
e7151d61df urplay: -A will work with single videos 2023-06-18 13:02:53 +02:00
Johan Andersson
355c7bb512 urplay: they added support for 1080p 2023-03-15 06:53:24 +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
6bd9be5555 urplay: add support for only audio streams 2022-06-09 21:56:37 +02:00
Johan Andersson
18009e7dc3 pylint fixes 2021-12-19 13:40:15 +01:00
Johan Andersson
96544ae2f8 fix some return values 2021-12-18 21:32:41 +01:00
Johan Andersson
0f9e1908c7 f-string fixes 2021-12-18 19:52:08 +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
9d5b6de59a urplay: update the detection 2021-10-30 12:05:08 +02:00
Johan Andersson
6305dbcc9c Add support for audio language and audio role 2021-05-16 13:55:28 +02:00
Johan Andersson
2f10e1b556 urplay: forgot to fix all-episodes before .) 2021-05-12 22:18:24 +02:00
Johan Andersson
8bcbd5dad4 urplay: fix a crash when getting subtitle.
for some reason they remove which one is default.
now we assume that swedish is the one
fixes: #1382
2021-05-12 21:00:00 +02:00
Johan Andersson
8805627a21 urplay: for non-series video use title for name
fixes: #1357
2021-04-15 19:51:20 +02:00
awabom
998f51fdf6
urplay: extracting filename metadata - title (and title_nice), season, episode, episodename, id (#1299)
Co-authored-by: Johan Andersson <j@i19.se>
2021-02-28 23:14:34 +01:00
Johan Andersson
29744a58af urplay: use wsrt subtitles instead of tt
fixes: #1324
2021-02-16 23:58:18 +01:00
Johan Andersson
9d34704b47 urplay: sometimes it adds country code several times
this happen when you download all subtitles.
2021-02-09 21:51:11 +01:00
Johan Andersson
4fce58c892 urplay: look for programcontainer to get the json we need
fixes: #1308
2021-01-18 21:48:38 +01:00
awabom
009aa90ed0 urplay: fixes download of sd-only programs
Fixes download of programs without hd streams on urplay.se
2020-12-29 19:26:53 +01:00
amigatomte
dae39fae24 Update urplay.py to get videos without hardcoded subtitles 2020-11-19 22:14:43 +01:00
Johan Andersson
d6dc139925 urplay: Fix so we can download videos again 2020-10-10 13:30:44 +02:00
Johan Andersson
389b21bde5 pre-commit: use a newer pyupgrade version 2020-05-03 11:35:03 +02:00
Johan Andersson
4e187f9553 pre-commit: its a good thing to commit config... 2019-09-06 22:49:49 +02:00
Johan Andersson
3aef9a796e black fixes 2019-09-06 22:31:52 +02:00
Johan Andersson
7f0cf6eb82 pre-commit: reorder imports 2019-09-06 22:09:07 +02:00
Johan Andersson
e9b16fda77 pre-commit: pyupgrade 2019-09-06 22:09:07 +02:00
Johan Andersson
e105855fb7 pre-commit: black fixes 2019-09-06 22:09:07 +02:00
Johan Andersson
36116c7a3b Remove old logging 2018-11-18 12:47:19 +01:00
Johan Andersson
ca295d461d flake8: new version detecting more stuff 2018-10-28 23:16:00 +01:00
Johan Andersson
9619936f2a flake8 fixes 2018-05-27 16:10:22 +02:00
Johan Andersson
0f0e9fc459 urplay: only send the label to the subtitle 2018-05-27 15:54:24 +02:00
Johan Andersson
c5b436e20e services: add output variable to fetchers 2018-05-21 00:56:22 +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
7e351530e9 No need for utils.urllib anymore 2018-05-13 12:09:27 +02:00
Johan Andersson
3de9396f7d remove some debug prints.. 2018-03-04 11:41:22 +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
804b869644 service: change str formating from '%s' to '.format' 2017-10-09 22:35:13 +02:00
Johan Andersson
0ddbc9752e urplay: support for -A on urskola.se
fixes #677
2017-09-16 17:36:37 +02: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
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
f8f25cf2a4 Merge remote-tracking branch 'qnorsten/master' into qnorsten 2016-07-24 12:15:11 +02:00
Johan Andersson
fa730a5564 remove options in argument for exclude 2016-05-14 22:54:30 +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
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