Sample code for 30+ languages & platforms
Chilkat2-Python

Example: Http.GetDomain method

Demonstrates the GetDomain method.

Chilkat Chilkat2-Python Downloads

Chilkat2-Python
import chilkat2

http = chilkat2.Http()

domain = http.GetDomain("https://chilkatsoft.com/refdoc/csharp.asp")
print(domain)

# Output: chilkatsoft.com