Powerful tool for downloading content posted by creators on patreon.com. Supports content hosted on patreon itself as well as external sites (additional plugins might be required).
The downloader overwrites the first two files that share the same name accidentally, and that may cause being used by another process exception and data loss.
This commit uses another method to read sequence number of the file, which may reduce the probability of resource competition (read wrong sequence number with multi-thread).
Thank you for this PR. I have reviewed it and I will have to re-implement fix for this issue a little bit differently. Still I want to thank you for your insight into why this is happening.
Fix #163
The downloader overwrites the first two files that share the same name accidentally, and that may cause
being used by another process
exception and data loss.This commit uses another method to read sequence number of the file, which may reduce the probability of resource competition (read wrong sequence number with multi-thread).