0x776b7364 / toggle.sg-download

Python script to automate Toggle.sg video downloads
MIT License
26 stars 18 forks source link

Downloading videos with multiple languages (E.g. Blue Tick in cantonese) #55

Open MythicWrath opened 5 years ago

MythicWrath commented 5 years ago

Any idea how to download video with in non-default languages? For example, Blue Tick is in Chinese by default, but you can switch to cantonese in the website, whereas the script downloads the default Chinese version by default.

An inspection of the urlRecords seem to show that only the default Chinese urls are available (e.g. http://cdnapi.kaltura.com/p/2082311/sp/208231100/playManifest/protocol/http/entryId/0_bsaz8sb2/format/url/tags/wvc_l/**defaultAudioLang/Chinese**/f/a.wvm), so any idea where the Cantonese video would be coming from?

Furthermore, running the toggle URL through this video downloader site return results that seem to suggest that the video player is loading the video and audio separately, and switching the language options in the website probably just switches the audio track. In that case, any idea how to download different audio tracks?

0x776b7364 commented 5 years ago

Choosing and/or downloading all of the audio sources is not supported at the moment. At this stage it looks like it wouldn't be supported, at least from me. PRs are most welcome.