MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / transform_data

Function transform_data

Chinese_FlashCard/app/models.py:16–20  ·  view source on GitHub ↗

parse html document return :: tree of Python object

()

Source from the content-addressed store, hash-verified

14 return requests.get(url).text
15
16def transform_data():
17 """ parse html document
18 return :: tree of Python object
19 """
20 return bs(extract_data(),"html.parser")
21
22
23def data_list(soup=transform_data()) -> list:

Callers 1

data_listFunction · 0.85

Calls 1

extract_dataFunction · 0.85

Tested by

no test coverage detected