pytoutv icon indicating copy to clipboard operation
pytoutv copied to clipboard

Subtitles

Open MPW1412 opened this issue 9 years ago • 4 comments
trafficstars

Hello,

many of the episodes on ici.tou.tv have subtitles available.

You can download them like this:

  • Firefox: Analyse element
  • Go to network
  • activate the subtitles
  • Search for 'vtt'

It's a vtt file, but the syntax is like in a srt file, so any standard video player will be able to play them.

Maybe you can integrate that into toutv? It's really helpful for people like me, who want to improve their French.

Regards, MPW

MPW1412 avatar Nov 02 '16 10:11 MPW1412

I personally have no time for this at the moment, but any future development effort should be made in the ongoing v3-dev branch.

eepp avatar Nov 02 '16 17:11 eepp

Should be quite easy to add: From episode page HTML: <meta name="rc.codepage" content="id126696"/> Subtitles file URL: http://api.radio-canada.ca/metamedia/v1/soustitre/vtt/toutv/126696/

Anyone still interested in this?

gboudreau avatar Jan 18 '17 14:01 gboudreau

I'm not that interested in the feature itself, but I could tackle it if I am bored on a rainy day. Any suggestions of what the UI should be?

simark avatar Jan 18 '17 14:01 simark

Youtube-dl supports it already, so I'm not particularly interested in it anymore.

But if you want to keep this repo up, I think, it's a good feature for people who want to learn French.

https://github.com/rg3/youtube-dl/issues/11096

MPW1412 avatar Jan 18 '17 15:01 MPW1412