andewK

Untitled

May 21st, 2021
527
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tds = list(map(lambda td: td.get_text(), table.find_all('td')))
  2. ext_data = dict()
  3. for i in range(0, len(tds), 5):
  4.      ext_data[tds[i]] = tds[i+2:i+5]
RAW Paste Data