Closed satyamtg closed 4 years ago
Did those changes. Now we do not upload a file to S3 if any version identifier is not found in headers. Question is, shall we ignore the cyclic imports pointed out by codefactor (we can fix that with #57 )?
Have done those suggested changes and rebased on master. Have also bumped kiwix_storagelib version in requirements to use the new function.
This changes the following
{fpath.suffix[1:]}/{safe_url}/{quality}
, where quality is "high", "low", or "default", and safe_url is a S3 safe version of the URL without the scheme.The following new functions are added -
Currently the following work -
The youtube download is not tested right now (will test soon)