This fixes #104 by downloading everything to instance_assets instead of downloading to different places.
Also prevents creation of dummy subtitles if content was {}, which resulted in many duplicates in zimcheck
Please do note that this prevents duplicate files on the basis of unique URLs, however there are some small number of files which have different URLs but same content, and hence are reported by zimcheck. There's no way of identifying them without calculating a checksum. I think we shall see https://github.com/openzim/python_scraperlib/issues/33 and use that instead for a small subset of files (which are basically some images under instance_assets).
This fixes #104 by downloading everything to
instance_assets
instead of downloading to different places. Also prevents creation of dummy subtitles if content was{}
, which resulted in many duplicates inzimcheck
Please do note that this prevents duplicate files on the basis of unique URLs, however there are some small number of files which have different URLs but same content, and hence are reported by
zimcheck
. There's no way of identifying them without calculating a checksum. I think we shall see https://github.com/openzim/python_scraperlib/issues/33 and use that instead for a small subset of files (which are basically some images underinstance_assets
).