diff --git a/unisportomat/course_scraper/course_scraper.py b/unisportomat/course_scraper/course_scraper.py index 2d51c7f6d5ce663aa4785f246cee688924e4c902..e0671bea476f4c54ef3e6776692ae1bb0b85d8cb 100644 --- a/unisportomat/course_scraper/course_scraper.py +++ b/unisportomat/course_scraper/course_scraper.py @@ -1,12 +1,11 @@ """ -Implementation of a rudementary scraping tool +Implementation of a rudementary scraping tool for http://www.buchsys.de for SWP UniSport-O-Mat. """ import requests from bs4 import BeautifulSoup - def fetch_website(url): """ Helper function to fetch the content of a website. @@ -29,9 +28,9 @@ def fetch_website(url): def scraping(site=None) -> dict: """ - Returns a dictionary of the form {name: link}, - containing the scraped content of - https://www.buchsys.de/fu-berlin/angebote/aktueller_zeitraum/index.html, + Returns a dictionary of the form {name: link}, + containing the scraped content of + https://www.buchsys.de/fu-berlin/angebote/aktueller_zeitraum/index.html, unless another URL is given as an argument. """ courses = {}