Spaces:
Sleeping
Sleeping
Update app.py
Browse filesUpdated docstrings for required convention
app.py
CHANGED
|
@@ -47,6 +47,8 @@ def webpage_header_get(url:str)-> str: #it's import to specify the return type
|
|
| 47 |
def webpage_contents_soup_links(response_content:bytes)->list:
|
| 48 |
'''
|
| 49 |
This function will find all links in the response.content from the webpage_contents_get tool
|
|
|
|
|
|
|
| 50 |
'''
|
| 51 |
soup = BeautifulSoup(response.content, "html.parser")
|
| 52 |
list_ret
|
|
|
|
| 47 |
def webpage_contents_soup_links(response_content:bytes)->list:
|
| 48 |
'''
|
| 49 |
This function will find all links in the response.content from the webpage_contents_get tool
|
| 50 |
+
Args:
|
| 51 |
+
response_content: response.content value returned by webpage_contents_get tool.
|
| 52 |
'''
|
| 53 |
soup = BeautifulSoup(response.content, "html.parser")
|
| 54 |
list_ret
|