|
@@ -192,7 +192,7 @@ def get_infos_from_url(
|
192
|
192
|
|
193
|
193
|
url_parsed = urllib.parse.urlparse(url)
|
194
|
194
|
|
195
|
|
- if url_parsed.netloc not in [ "smash.gg" ]:
|
|
195
|
+ if url_parsed.netloc not in [ "smash.gg", "start.gg" ]:
|
196
|
196
|
raise ValueError("Unsupported domain name")
|
197
|
197
|
if outform not in [ "dict", "lkrz" ]:
|
198
|
198
|
raise ValueError("Unsupported outform")
|
|
@@ -202,7 +202,7 @@ def get_infos_from_url(
|
202
|
202
|
event = None
|
203
|
203
|
|
204
|
204
|
# -------------------------------------------------------------------------
|
205
|
|
- if url_parsed.netloc == "smash.gg":
|
|
205
|
+ if url_parsed.netloc in [ "smash.gg", "start.gg" ]:
|
206
|
206
|
|
207
|
207
|
if (url_parsed.path.split("/")[1] != "tournament"):
|
208
|
208
|
log.error("Incomplete URL '{}'".format(url))
|