(url, session)
| 19 | return page_url_list |
| 20 | |
| 21 | async def get_info_page_url(url, session): |
| 22 | regex = re.compile("<a href='./(.*?)'\s+title=") |
| 23 | async with session.get(url) as response: |
| 24 | html = await response.text() |
| 25 | url_part_list = re.findall(regex, html) |
| 26 | return url_part_list |
| 27 | |
| 28 | async def get_all_info_page_url(root_url, page_url_list): |
| 29 | tasks, all_info_page_url_list = [], [] |
no outgoing calls
no test coverage detected