mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-02 16:02:53 +01:00
43a4d0e17f
GitOrigin-RevId: dd347635b52b69451a50cca3163fbfbcefb8561e
9 lines
153 B
Python
9 lines
153 B
Python
from urllib.parse import urlparse
|
|
|
|
fancy_names = {
|
|
}
|
|
|
|
|
|
def get_fancy_name(url):
|
|
return fancy_names.get(urlparse(url).netloc.lower(), 'Saturn Rings')
|