spaam / svtplay-dl

Small command-line program to download videos from some streaming sites.
https://svtplay-dl.se
MIT License
707 stars 118 forks source link

Cannot download subtitles from svtplay.se #1182

Open CT-ABT opened 4 years ago

CT-ABT commented 4 years ago

Hi there,

I was trying to use this tool to download an episode from svtplay.se as usual as I had done many times before, and yet I have found that I now cannot download subtitles from it. The video part of the episode is fine, though, just no subtitle file. Tried with ‘-S --force-subtitle’, yet have received the following lines:

WARNING: Retrying (Retry(total=4, connect=5, read=5, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response',))': /d0/se/20191025/669b2636-eed6-4449-b150-8823826e251d/master-fmp4.m3u8 WARNING: Can't download subtitle file

Have I done something wrong? Or is it just not come with subtitles yet?

Thank you.

spaam commented 4 years ago

What version of the script do you use and what url are you trying to download ?

On Mon, Oct 28, 2019, at 16:14, CT-ABT wrote:

Hi there,

I was trying to use this tool to download an episode from svtplay.se as usual as I had done many times before, and yet I have found that I now cannot download subtitles from it. The video part of the episode is fine, though, just no subtitle file. Tried with ‘-S --force-subtitle’, yet have received the following lines:

WARNING: Retrying (Retry(total=4, connect=5, read=5, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response',))': /d0/se/20191025/669b2636-eed6-4449-b150-8823826e251d/master-fmp4.m3u8 WARNING: Can't download subtitle file

Have I done something wrong? Or is it just not come with subtitles yet?

Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/spaam/svtplay-dl/issues/1182?email_source=notifications&email_token=AABRNPHOJZDGKVGHPFHDE23QQ36T3A5CNFSM4JF3TN6KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HUZMPWA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABRNPCXC3MA5S6RJBROXGTQQ36T3ANCNFSM4JF3TN6A.

CT-ABT commented 4 years ago

@spaam Hi Johan, I'm currently using the latest packed version for Windows (and that is ‘2.4-2-g5466853’), and I was trying to download the newest episode (S03E01) of Vår tid är nu from svtplay-dl.se. The link is https://www.svtplay.se/video/24141034/var-tid-ar-nu/var-tid-ar-nu-sasong-3-nattklubben. The video was well downloaded, though. Thanks :)

ing181 commented 4 years ago

Version 2.4-29-gc59a305 from 30-Sep-2019 19:38 works well for me. https://svtplay-dl.se/download/snapshots/

CT-ABT commented 4 years ago

Version 2.4-29-gc59a305 from 30-Sep-2019 19:38 works well for me. https://svtplay-dl.se/download/snapshots/

Thank you, I’ve tried the version you’ve metioned, and yet sadly it still not work for me. I want to clarify that the video downloaded perfectly, just cannot download the subtitles—even with a force download option added in the line.

granbom commented 4 years ago

Version 2.4-29-gc59a305 works for me as well in Ubuntu, macOS and Windows using URL https://www.svtplay.se/video/24141030/var-tid-ar-nu/var-tid-ar-nu-sasong-3-nattklubben

Must be some local error. Maybe a temporary error of IPv6 or a proxy you are using?

CT-ABT commented 4 years ago

Version 2.4-29-gc59a305 works for me as well in Ubuntu, macOS and Windows using URL https://www.svtplay.se/video/24141030/var-tid-ar-nu/var-tid-ar-nu-sasong-3-nattklubben

Must be some local error. Maybe a temporary error of IPv6 or a proxy you are using?

Maybe. I live far away from Sweden and I did need a proxy to download the video. But why is that the video can be downloaded well, yet just not with subtitles. It does confuse me :)

spaam commented 4 years ago

weird. it should be the same way for both 🤔. you can try adding the x-forwarded-for=swedish-ip and see if it works better. replace swedish-ip with a swedish ip.

CT-ABT commented 4 years ago

weird. it should be the same way for both 🤔. you can try adding the x-forwarded-for=swedish-ip and see if it works better. replace swedish-ip with a swedish ip.

Thank you! I’ll give it a try later.

spaam commented 4 years ago

forgot to say that x-forwarded-for should be used with --http-header

CT-ABT commented 4 years ago

forgot to say that x-forwarded-for should be used with --http-header

Got it. Thanks! (Currently I cannot try it but I’ll test it later.)

CT-ABT commented 4 years ago

I have tried with a Swedish IP, and yet still got the ‘cannot download the subtitle file’ warning as below: image I want to thank all of you above for helping me on this. The thing is, I can only use such an IP searched on Google and to put it into the command line. I cannot actually use a VPN service that connects to a node in Sweden (like some VPN Services would offer) to really have it a try, for that the commie regime here in China almost blocked everything, literally. Therefore even ExpressVPN can only provide very few nodes (normally located in Hong Kong or the US) with terrible connectivity (means you have a strong possibility that cannot connect to). We have to use some very complicated solutions which would require an overseas VPS to bypass the blockade, and for those solutions, I cannot find (or afford) a Swedish VPS to deploy on. If I can whatsoever connect to a Swedish location, I reckon that all the problems shall be addressed—and by that, I can even watch the series online, can’t I.

Sopor commented 4 years ago

@CT-ABT have you tried https://www.urban-vpn.com ?