Foppe Hemminga 6 lat temu
rodzic
commit
c383ee86e2
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      _bs.py

+ 3 - 0
_bs.py

@@ -175,6 +175,9 @@ def process_scratchings(this_data, this_venue):
     header = this_scr.select('h3', text=re.compile('Late Scratchings'))[0]
     div = header.findNext('table')
     late_scratchings = scrape_scratchings(div, this_venue)
+    if this_venue.name == 'Corowa':
+        pprint(div)
+        pprint(late_scratchings)
     scratchings.update(late_scratchings)
 
     # assert len(scratchings) == int(scratchings_count), 'len(scratchings) {} == scratchings_count {}'.format(