mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-09-12 17:06:19 +02:00
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')
|