diff --git a/unisportomat/quiz/views.py b/unisportomat/quiz/views.py index 29bc2fc2903981ba6b1c7d067817fa55c651c949..06de1b31cf9abf3763b7ec40ca59e699a0055b81 100644 --- a/unisportomat/quiz/views.py +++ b/unisportomat/quiz/views.py @@ -321,11 +321,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 = []