mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-02 16:02:53 +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')
|