My issue: when i rerun the downloader with parameters that would try to download already finished posts it takes quite a while to go through all files in the post just to get the "file already exists.. skipping" message.
so my idea was to check if all files that should have been downloaded are present and add an .complete file that will be checked after before actually downloading any files.
so already downloaded posts should be skipped way faster.
caveat: posts that get edited later wont get downloaded.
i realize that i should parse the metadata for files that should be present instead of hijacking the download function.
i'll submit this pull request anyway for shits and giggles.
My issue: when i rerun the downloader with parameters that would try to download already finished posts it takes quite a while to go through all files in the post just to get the "file already exists.. skipping" message.
so my idea was to check if all files that should have been downloaded are present and add an .complete file that will be checked after before actually downloading any files.
so already downloaded posts should be skipped way faster.
caveat: posts that get edited later wont get downloaded. i realize that i should parse the metadata for files that should be present instead of hijacking the download function.
i'll submit this pull request anyway for shits and giggles.