Open hamkg opened 7 years ago
feels strange. should work on linux if its the same version. How did you install the linux version?
pip install svtplay-dl
On 02/06/2017 01:04 PM, Johan Andersson wrote:
feels strange. should work on linux if its the same version. How did you install the linux version?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spaam/svtplay-dl/issues/553#issuecomment-277662652, or mute the thread https://github.com/notifications/unsubscribe-auth/ATESTzaj8pCElCPCckVz7Vy2w1L6YXq1ks5rZwxdgaJpZM4L4GKe.
strange. so python 2 or 3? do you have an example of url that works in windows and not linux?
Python 2.7
URL that works in windows but not linux: https://www.viafree.se/program/drama/bosch/sasong-2/avsnitt-2
For some viafree programs subtitles download OK in linux, e.g. https://www.viafree.se/program/drama/morden-i-midsomer/sasong-6/avsnitt-5
On 02/06/2017 01:37 PM, Johan Andersson wrote:
strange. so python 2 or 3? do you have an example of url that works in windows and not linux?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spaam/svtplay-dl/issues/553#issuecomment-277668767, or mute the thread https://github.com/notifications/unsubscribe-auth/ATEST60snVps0xdcLH6MXgtAuQi2COdiks5rZxPugaJpZM4L4GKe.
Do you get some error? it works great here can you try svtplay-dl -S --force-subtitle -v https://www.viafree.se/program/drama/bosch/sasong-2/avsnitt-2 and show me the output
dist?
On Mon, Feb 06, 2017 at 05:29:06AM -0800, hamkg wrote:
Python 2.7
URL that works in windows but not linux: https://www.viafree.se/program/drama/bosch/sasong-2/avsnitt-2
For some viafree programs subtitles download OK in linux, e.g. https://www.viafree.se/program/drama/morden-i-midsomer/sasong-6/avsnitt-5
On 02/06/2017 01:37 PM, Johan Andersson wrote:
strange. so python 2 or 3? do you have an example of url that works in windows and not linux?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spaam/svtplay-dl/issues/553#issuecomment-277668767, or mute the thread https://github.com/notifications/unsubscribe-auth/ATEST60snVps0xdcLH6MXgtAuQi2COdiks5rZxPugaJpZM4L4GKe.
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/spaam/svtplay-dl/issues/553#issuecomment-277680449
Here goes:
kgha: ~ > svtplay-dl -S --force-subtitle -v https://www.viafree.se/program/drama/bosch/sasong-2/avsnitt-2 DEBUG [1486388167.31] /usr/local/bin/svtplay-dl/svtplay_dl/utils/init.py/request: HTTP getting 'https://www.viafree.se/program/drama/bosch/sasong-2/avsnitt-2' DEBUG [1486388167.57] /usr/local/bin/svtplay-dl/svtplay_dl/utils/init.py/request: HTTP getting u'http://playapi.mtgx.tv/v3/videos/811311' DEBUG [1486388167.66] /usr/local/bin/svtplay-dl/svtplay_dl/utils/init.py/request: HTTP getting u'http://playapi.mtgx.tv/v3/videos/stream/811311' DEBUG [1486388167.8] /usr/local/bin/svtplay-dl/svtplay_dl/utils/init.py/request: HTTP getting u'https://mtgxse04-vh.akamaihd.net/i/open/10xxxxxx/1007xxxx/100735xx/10073550/cee9b7224441dc69a3e9faa4a955ba86_10073550_548100_20160830T104541_,200,512,908,1400,2000,3500,.mp4.csmil/master.m3u8?__b__=300&hdnts=st=1486338885~exp=1488153300~acl=/*~hmac=4ceb4a7bddfbf3952fe3af1f3bc0c2cf0b7b673b42e90115153ed204cadf5820&cc1=name=Svenska~default=yes~forced=no~lang=sv~uri=https%3A%2F%2Fsubstitch.play.mtgx.tv%2Fsubtitle%2Fconvert%2Fvtt%3Fsource%3Dhttps%3A%2F%2Fcdn-subtitles-mtgx-tv.akamaized.net%2Fpitcher%2F10xxxxxx%2F1007xxxx%2F100735xx%2F10073550%2F0270130611%2F10073550_sv.vtt%26output%3Dm3u8'
On 02/06/2017 02:34 PM, Johan Andersson wrote:
Do you get some error? it works great here can you try svtplay-dl -S --force-subtitle -v https://www.viafree.se/program/drama/bosch/sasong-2/avsnitt-2 and show me the output
dist?
On Mon, Feb 06, 2017 at 05:29:06AM -0800, hamkg wrote:
Python 2.7
URL that works in windows but not linux: https://www.viafree.se/program/drama/bosch/sasong-2/avsnitt-2
For some viafree programs subtitles download OK in linux, e.g.
https://www.viafree.se/program/drama/morden-i-midsomer/sasong-6/avsnitt-5
On 02/06/2017 01:37 PM, Johan Andersson wrote:
strange. so python 2 or 3? do you have an example of url that works in windows and not linux?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub
https://github.com/spaam/svtplay-dl/issues/553#issuecomment-277668767, or mute the thread
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/spaam/svtplay-dl/issues/553#issuecomment-277680449
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spaam/svtplay-dl/issues/553#issuecomment-277681823, or mute the thread https://github.com/notifications/unsubscribe-auth/ATEST8QOPGzJn4I90Iosx5XIU5r1VGnVks5rZyFRgaJpZM4L4GKe.
Apparently it's not viafree as such but the vtt file format that's causing the trouble. Same thing happens with vtt subtitle files on other sites, e.g. urplay.se. Downloading the vtt file separately is of course a workaround.
it can be few things here.. it should download the .vtt file and that should be the next line after that m3u8 line in your previous post. for some reason it does not download the file for you but you said so.
you forgot to copy that line?
for me it it show up as this:
wasted:lib johan$ python -m svtplay_dl "https://www.viafree.se/program/drama/bosch/sasong-2/avsnitt-2" -S --force-subtitle -v
DEBUG [1486387945.74] svtplay_dl/utils/__init__.py/request: HTTP getting 'https://www.viafree.se/program/drama/bosch/sasong-2/avsnitt-2'
DEBUG [1486387945.88] svtplay_dl/utils/__init__.py/request: HTTP getting u'http://playapi.mtgx.tv/v3/videos/811311'
DEBUG [1486387945.98] svtplay_dl/utils/__init__.py/request: HTTP getting u'http://playapi.mtgx.tv/v3/videos/stream/811311'
DEBUG [1486387946.19] svtplay_dl/utils/__init__.py/request: HTTP getting u'https://mtgxse04-vh.akamaihd.net/i/open/10xxxxxx/1007xxxx/100735xx/10073550/cee9b7224441dc69a3e9faa4a955ba86_10073550_548100_20160830T104541_,200,512,908,1400,2000,3500,.mp4.csmil/master.m3u8?__b__=300&hdnts=st=1486338885~exp=1488153300~acl=/*~hmac=4ceb4a7bddfbf3952fe3af1f3bc0c2cf0b7b673b42e90115153ed204cadf5820&cc1=name=Svenska~default=yes~forced=no~lang=sv~uri=https%3A%2F%2Fsubstitch.play.mtgx.tv%2Fsubtitle%2Fconvert%2Fvtt%3Fsource%3Dhttps%3A%2F%2Fcdn-subtitles-mtgx-tv.akamaized.net%2Fpitcher%2F10xxxxxx%2F1007xxxx%2F100735xx%2F10073550%2F0270130611%2F10073550_sv.vtt%26output%3Dm3u8'
DEBUG [1486387946.3] svtplay_dl/utils/__init__.py/request: HTTP getting u'https://cdn-subtitles-mtgx-tv.akamaized.net/pitcher/10xxxxxx/1007xxxx/100735xx/10073550/0270130611/10073550_sv.vtt'
INFO [1486387946.44] svtplay_dl/output.py/output: Outfile: bosch.s02e02-811311-tv3play.srt
what linux dist do you use?
Nope, didn't forget any lines, that last one that you got doesn't show up for me in linux, only in windows. I run a Slackware distro, AlienBob's liveslak 1.1.2 (Slackware 14.2, Linux kernel 4.4.15) And no problems with srt files, only vtt. Still, as long as I can get the URL I can (as said) download the vtt file separately using any browser.
This is how it looks for me in Linux
$ svtplay-dl -S --force-subtitle -v https://www.viafree.se/program/drama/bosch/sasong-2/avsnitt-2
DEBUG [1486396296.49] /usr/local/lib/python2.7/dist-packages/svtplay_dl-1.9.1-py2.7.egg/svtplay_dl/utils/__init__.py/request: HTTP getting 'https://www.viafree.se/program/drama/bosch/sasong-2/avsnitt-2'
DEBUG [1486396298.2] /usr/local/lib/python2.7/dist-packages/svtplay_dl-1.9.1-py2.7.egg/svtplay_dl/utils/__init__.py/request: HTTP getting u'http://playapi.mtgx.tv/v3/videos/811311'
DEBUG [1486396298.44] /usr/local/lib/python2.7/dist-packages/svtplay_dl-1.9.1-py2.7.egg/svtplay_dl/utils/__init__.py/request: HTTP getting u'http://playapi.mtgx.tv/v3/videos/stream/811311'
DEBUG [1486396298.59] /usr/local/lib/python2.7/dist-packages/svtplay_dl-1.9.1-py2.7.egg/svtplay_dl/utils/__init__.py/request: HTTP getting u'https://mtgxse04-vh.akamaihd.net/i/open/10xxxxxx/1007xxxx/100735xx/10073550/cee9b7224441dc69a3e9faa4a955ba86_10073550_548100_20160830T104541_,200,512,908,1400,2000,3500,.mp4.csmil/master.m3u8?__b__=300&hdnts=st=1486338885~exp=1488153300~acl=/*~hmac=4ceb4a7bddfbf3952fe3af1f3bc0c2cf0b7b673b42e90115153ed204cadf5820&cc1=name=Svenska~default=yes~forced=no~lang=sv~uri=https%3A%2F%2Fsubstitch.play.mtgx.tv%2Fsubtitle%2Fconvert%2Fvtt%3Fsource%3Dhttps%3A%2F%2Fcdn-subtitles-mtgx-tv.akamaized.net%2Fpitcher%2F10xxxxxx%2F1007xxxx%2F100735xx%2F10073550%2F0270130611%2F10073550_sv.vtt%26output%3Dm3u8'
DEBUG [1486396298.83] /usr/local/lib/python2.7/dist-packages/svtplay_dl-1.9.1-py2.7.egg/svtplay_dl/utils/__init__.py/request: HTTP getting u'https://cdn-subtitles-mtgx-tv.akamaized.net/pitcher/10xxxxxx/1007xxxx/100735xx/10073550/0270130611/10073550_sv.vtt'
INFO [1486396298.91] /usr/local/lib/python2.7/dist-packages/svtplay_dl-1.9.1-py2.7.egg/svtplay_dl/output.py/output: Outfile: bosch.s02e02-811311-viafree.srt
What to write to get subtitle with Svtplay-dl ? https://www.viafree.se/program/reality/geordie-shore/sasong-17/avsnitt-3
@OldSchool297 if you run svtplay-dl
you will get all the options you can use...
svtplay-dl -S https://www.viafree.se/program/reality/geordie-shore/sasong-17/avsnitt-3
Works great with svtplay-dl 1.9.1 for Windows, but with the same version for Linux I don't get them.