Open mileyyao opened 5 years ago
get_bucket_from_url(url) and get_key_from(url) only take URL using s3:// protocol but "Amazon S3 supports both virtual-hosted–style and path-style URLs to access a bucket." (ref: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html)
Therefore when the API tries to extract the key and bucket from my s3 bucket https URL, it raises an attribute error.
get_bucket_from_url(url) and get_key_from(url) only take URL using s3:// protocol but "Amazon S3 supports both virtual-hosted–style and path-style URLs to access a bucket." (ref: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html)
Therefore when the API tries to extract the key and bucket from my s3 bucket https URL, it raises an attribute error.