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

91 Commits

Author SHA1 Message Date
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
Johan Andersson
a32074dbbe urplay: support for urskola
fixes: #358
2016-03-20 18:21:07 +01:00
Johan Andersson
901ae80c88 unused import 2016-02-07 10:44:49 +01:00
Johan Andersson
b5ea350c0f Move options to when we init the service class 2015-12-26 11:46:14 +01:00
Johan Andersson
9f602c1fb1 urplay: support for betaplay 2015-10-25 16:15:26 +01:00
Johan Andersson
e2a816127e urplay: rtmp is so 90s. removing it 2015-10-25 16:15:26 +01:00
Johan Andersson
fa05480327 reorder arguments for hlsparse and hdsparse 2015-10-04 14:37:16 +02:00
Johan Andersson
dc2cc0294c pip8. expected 2 lines found 1 2015-09-15 20:10:32 +02:00
Johan Andersson
1e6de72d64 Better excluding message
fixing #198
2015-09-06 23:04:48 +02:00
Johan Andersson
028a6fe061 urplay: dont include dupes 2015-09-06 22:41:49 +02:00
Johan Andersson
00335a06b5 urplay: import log 2015-09-06 22:41:29 +02:00
Johan Andersson
acf526c54a Show only one error message instead of two 2015-09-06 14:19:10 +02:00
Johan Andersson
bb47a5d1fa urplay: we need to send the url to hlsparse
fixes #260
2015-09-02 18:51:07 +02:00
Johan Andersson
270506082d urplay: send the url to the playlist 2015-08-31 23:17:51 +02:00
Johan Andersson
331de0a70f replace self.http.get with our own function with debug info 2015-08-31 19:45:15 +02:00
Johan Andersson
84ee181f5b adding request support.
still need some more work
2015-08-30 00:06:20 +02:00