furl icon indicating copy to clipboard operation
furl copied to clipboard

[Request] Domain manipulation

Open kaldown opened this issue 4 years ago • 1 comments

Is there any useful way to manipulate domains?

Reasoning: let's say I have https://s3.amazonaws.com I need to build endpoint with bucket name f.domain.add('my-bucket')

then I need to create website out of it:

>> f.url
https://my-bucket.s3.amazonaws.com
>>> f.domain.part[1] = "s3-website-region"

In total:

>>> f.url
https://my-bucket.s3-website-region.amazonaws.com

kaldown avatar Mar 18 '21 15:03 kaldown

not yet unfortunately

great domain support will be added with https://github.com/gruns/furl/issues/110, which i've started but not yet completed

gruns avatar Mar 18 '21 19:03 gruns