match tag with find_all method return :: string list
(soup=transform_data())
| 21 | |
| 22 | |
| 23 | def data_list(soup=transform_data()) -> list: |
| 24 | """ match tag with find_all method |
| 25 | return :: string list |
| 26 | """ |
| 27 | new_char = soup.find_all(cfg['html_tag']) |
| 28 | return [sino.get_text() for sino in new_char ] |
| 29 | |
| 30 | def create_dictionary(datalist=data_list()) -> dict: |
| 31 | """ slice every 4 items |
no test coverage detected