Chapter 7 Function parse_battle_page
smart-patrol opened this issue · 1 comments
smart-patrol commented
In Chapter 7 it has the function parse_battle_page
Absent from the book and this repo is the function _default_collect()
in it.
Unable to reproduce results without this sub function.
def parse_battle_page(url):
''' main function to parse battle urls from wikipedia
'''
try:
dom = _default_collect(url) # dom
except Exception as e:
warnings.warn(str(e))
return {}
...
smart-patrol commented
The function in question is in the wiki.py
but not located in NBs 2 to 3.