prizebot: fix urls

pull/488/head
Mike Lang 2 weeks ago
parent c38144d478
commit 5012c2cee2

@ -1,6 +1,7 @@
from collections import namedtuple from collections import namedtuple
import json import json
import logging
import time import time
import re import re
@ -53,7 +54,8 @@ def get_prizes(type):
]) ])
else: else:
state = "unknown" state = "unknown"
prizes.append(Prize(id, a["href"], type, title, state, result)) link = f"https://desertbus.org{a['href']}"
prizes.append(Prize(id, link, type, title, state, result))
return prizes return prizes

Loading…
Cancel
Save