Browse Source

Merge branch 'master' of https://git.fop.pe/Foppe/scratchings

Afwas [1337627 6 năm trước cách đây
mục cha
commit
481e981e50
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      _bs.py

+ 3 - 3
_bs.py

@@ -174,10 +174,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)