David Leonard vor 10 Jahren
Ursprung
Commit
490adb30a3
1 geänderte Dateien mit 5 neuen und 4 gelöschten Zeilen
  1. 5 4
      hackathon_starter/hackathon/scripts/scraper.py

+ 5 - 4
hackathon_starter/hackathon/scripts/scraper.py

@@ -1,11 +1,12 @@
+'''
+scraper.py contains various methods for scraping
+HTML content and packaging into dictionaries.
+'''
+
 import requests
 import itertools 
 from bs4 import BeautifulSoup
 
-
-
-
-
 def steamDiscounts():
 	req = requests.get('http://store.steampowered.com/search/?specials=1#sort_by=_ASC&sort_order=ASC&specials=1&page=1')
 	content = req.text