up209d / ResourcesSaverExt

Chrome Extension for one click downloading all resources files and keeping folder structures.
GNU General Public License v3.0
1.71k stars 344 forks source link

Merge resource files when saving them #5

Closed sic-sic closed 6 years ago

sic-sic commented 6 years ago

It would be nice to have options that permits users to skip files which already exist in destination folder or to overwrite existing ones.

up209d commented 6 years ago

Hi brother, thanks for your idea. However, that is not quite possible since chrome doesn't allow extensions to overwrite file. Also, there are some cases with the same filename but different query string. These will return different content for example: getPost.php?post=123 | getPost.php?post=456, so sometimes it seems not to be right to skip the existed files instead of greedily getting them all. I actually did a basic excluding if the url with full query is not unique.