Foppe Hemminga 6 anni fa
parent
commit
5767c79d1e
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      _bs.py

+ 3 - 3
_bs.py

@@ -173,10 +173,10 @@ def process_scratchings(this_data, this_venue):
     early_scratchings = scrape_scratchings(div, this_venue)
     scratchings.update(early_scratchings)
     header = this_scr.select('h3', text=re.compile('Late Scratchings'))[0]
-    div = header.findNext('table')
-    late_scratchings = scrape_scratchings(div, this_venue)
+    late_div = header.findNext('table')
+    late_scratchings = scrape_scratchings(late_div, this_venue)
     if this_venue.name == 'Corowa':
-        pprint(div)
+        pprint(late_div)
         pprint(late_scratchings)
     scratchings.update(late_scratchings)