subdiox / subs-dl

Subtitles Downloader
0 stars 0 forks source link

All the line breaks are removed from the subtitle #1

Closed Essam3115 closed 2 years ago

Essam3115 commented 3 years ago

Hi, in your userscript all the line breaks are removed from the downloaded subtitle file in SRT format using the latest version 1.0.2 on Firefox with Tampermonkey, and this happens even before converting the subtitle file to SRT when I used

https://github.com/subdiox/subs-dl/blob/277cf729965fff00b13a9adb8cbdc20299b3d3c6/hulu.user.js

please fix the script when you have the time, and one more thing, the script does not work all the time and I need to refresh the video's page to make it works, this problem fixed for me when I replaced

// @match https://www.hulu.com/watch/*

with

// @match https://www.hulu.com/*

the subtitle file in vtt format looks like this when I open it with notepad++ in Word wrap (the problem might be from Tampermonkey for Firefox)

sub
Essam3115 commented 3 years ago

The problem of the removed line breaks seems to happen only on Firefox, on Google Chrome the script downloads the subtitles in SRT format without any problems.

sub2