xifangczy / cat-catch

猫抓 浏览器资源嗅探扩展 / cat-catch Browser Resource Sniffing Extension
GNU General Public License v3.0
8.98k stars 831 forks source link

Fix bug of force re-download of failed slices small video fragments blue button at the bottom to avoid manually search and download one by one all failed segments #424

Open trimechee opened 1 month ago

trimechee commented 1 month ago

扩展版本号 extension version

2.5.4

浏览器

其他基于 Chromium 的浏览器

浏览器版本号

127

涉及网址

https://v5.voiranime.com/anime/gintama/gintama-006-vostfr/

请详细描述问题

Hello, often in most cases, our beloved Cat-Catch succeeds in downloading the videos but sometimes, I don't know why, maybe my wifi becomes weak or I open other tabs to see news sites, social networks, or maybe server limitation.... Cat-Catch sometimes displays an error message that there are slices and 3 or 4 small video fragments that have not been downloaded, and this error arises whether the number of threads is 1 or 2 or 6, I click on the button "redownload failed parts" but nothing happens and there is the same error message, so I have to manually search among the 200 small video fragments for the small video fragments that failed and I click on the button "redownload" and so the small failed video fragments are downloaded and I can finally download the video, and so to avoid searching manually among the many slices and many small fragments failed videos and manually click on each part of failed fragments, we hope that the bug that affects the big blue button at the bottom "redownload listened video fragments" will be fixed and repaired so that we download all the small failed video fragments in one go, or add an option to automatically detect the fail and automatically force to automatically redownload all the small failed video fragments, thank you very much !

hsmaocn commented 1 month ago

So familiar! Hello again. In response to the situation you mentioned, the link you provided was tested, but the problem you described was not found. Such phenomenon is not uncommon in practice, and it does not originate from software defects, but may be caused by a combination of external factors.

Firstly, the stability of the network environment has a direct impact on link access. Network fluctuations or delays may interfere with data transmission, resulting in incomplete page loading or slow response, thus affecting the user experience. It is recommended to try again under stable network conditions to rule out this factor.

Second, the performance and condition of the web server is equally critical. Overloaded, improperly maintained or configured servers can cause access anomalies, especially during high traffic periods. The server's geographic location and bandwidth limitations can also affect the speed and reliability of data transfer.

Further, modern websites commonly employ anti-crawler technologies to protect data security and prevent resource misuse. When frequent or unusual access patterns are detected, websites may temporarily block IP addresses or limit access frequency. This mechanism has nothing to do with software functionality, but rather the website's own protection strategy.

Finally, traffic limiting is a measure implemented by ISPs or website operators to manage resource usage. When a user generates a large amount of data transmission in a short period of time, traffic restrictions may be triggered, resulting in reduced access speed or temporary blocking. Understanding and complying with the website's usage policy can avoid the impact of such restrictions on normal access.

In summary, in the face of such problems, it is recommended to investigate from various aspects, such as network environment, server status, access patterns and traffic usage, in order to locate the specific causes and adopt corresponding strategies to optimise or avoid them. At the same time, keeping software and system up-to-date and following network usage norms are also important to ensure smooth access.

trimechee commented 1 month ago

Oh very interesting and enriching and instructive, thank you very much Mr @hsmaocn for these recommendations and valuable advices and i will try to apply them :)

Yes, for updated os, unfortunately the main laptop is down and the screen turns all green so i am currently using my old windows 7 laptop manufactured on year 2012 and so, Cat-catch allows me to get around the freeze lag problem in the heavy web browser yes I know the network errors..... actually my sister uses HDMI because we were robbed of part of the head of our tv parabolic and so I accept these network errors, my concern is that I do not like to search among the 200 fragments or 500 small video fragments and click manually on each failed fragments on the re-download button, it can be tiring, there is at the bottom a big blue button that displays "re-download failed fragments" which sadly does not work and our hope is that the great Mr @xifangczy will make this button works to avoid to manually search and download one by one all failed segments......

what makes me think it is a bug in the extension is that I tried with other extensions like:

https://m3u8play.dev/

https://www.hlsloader.com/

https://github.com/chandler-stimson/live-stream-downloader

and before the breakdown of my main laptop, I tested the integrated video downloader of the browser:

https://coccoc.com/en

and I did not encounter this problem of failed small video fragments .....

for the moment, I made a sensational discovery and I can get around the problem by not using the ffmpeg online anymore because I activated in the settings of Cat-catch the button "stream download" of the M3U8 Parser to avoid using by default ffmpeg online , so I can preview the video and playback the video during its download with potplayer without waiting for the download finished and I no longer need to use ffmpeg online which sometimes bugs :)

hsmaocn commented 1 month ago

我非常强烈的建议你先读一下猫抓(cat catch) 说明书,引用xifangczy的一句话,就是有很多人不看说明书导致的各种问题

trimechee commented 1 month ago

Yes Mr @hsmaocn , thank you , i know and i read documentation but i tested with several competing extensions and several download mangers like fdm, neat download manger, filecentipede.....and with the coc coc browser downloader and the failed fragments bug does not seem to exist in these softwares, so i am sorry to mention the developer, it is not to annoy him but this problem seems important and crucial , it is the heart of the operations of the downloader extension.....

so i mentioned the generous and patient developer to suggest him to change the default download method of ffmpeg online which can bug to replace it with the stream download function of m3u8 parser which seems to have no bug, so it is no longer need fixing the ffmpeg online bug....

trimechee commented 1 month ago

EDIT : 2 days ago I forgot to manually click on the redownload failed segments button, and after a while I was going to do it, but Cat-catch seems to have automatically downloaded the failed segments without any manual intervention on my part, so I have to wait a while for Cat-cat to automatically redownload the failed segments?