diff --git a/unisportomat/quiz/views.py b/unisportomat/quiz/views.py index 51ff4f84d88552fe745e9e45e081c695cbc5e224..7146a55650399b5e82f02f89f269ec2da3b18655 100644 --- a/unisportomat/quiz/views.py +++ b/unisportomat/quiz/views.py @@ -319,11 +319,6 @@ class ScraperView(APIView): # Scrape Sports from their website scraped_sports = scraping() - # Reformat scraped Sports so they have a name and an url field - new_sport_list = [] - for sport_name, sport_url in scraped_sports.items(): - new_sport_list.append({"name": sport_name, "url": sport_url}) - # Iterate through DB Sport entries to see which ones are in the new Sport list etc diff_list = []