rsimmons / subadub

Chrome+Firefox extension for studying foreign languages using Netflix subtitles
MIT License
126 stars 38 forks source link

Filenames are "broken" when downloading #32

Closed rsimmons closed 6 months ago

rsimmons commented 3 years ago

Just so you know, the filenames are still "broken" when downloading Since episode name, season number and episode number get removed from the dom when no mouse movement is happening they are not included in the filename.

Therefore filenames are always _.srt

Originally posted by @juligreen in https://github.com/rsimmons/subadub/issues/29#issuecomment-915985944

MinmoTech commented 3 years ago

Netflix now exposes these attributes over it's api

netflix.appContext.state.playerApp.getAPI().getVideoMetadataByVideoId(<currentEpisodeID>).getCurrentVideo().getEpisodeNumber()