瀏覽代碼

Add debug

Foppe Hemminga 6 年之前
父節點
當前提交
5767c79d1e
共有 1 個文件被更改,包括 3 次插入3 次删除
  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)