Closed Nyoroon closed 6 years ago
Subdirs in S3 storage is always same. (first 4 chars of url is always http)
url
http
hex_name = codecs.encode(url.encode('utf-8'), 'hex').decode('utf-8') sub_dir = os.path.join(hex_name[:2], hex_name[2:4])
Maybe make hash of URL or take URI instead of URL?
Thank you for reporting this, would you like to fix it?
Okay, i'll try.
Subdirs in S3 storage is always same. (first 4 chars of
url
is alwayshttp
)Maybe make hash of URL or take URI instead of URL?