mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-12 04:37:50 +01: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')
|