mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-27 17:56:23 +02:00
Merge branch 'data_analyst_ldy' into 'mgx_ops'
Data analyst ldy See merge request pub/MetaGPT!189
This commit is contained in:
commit
e2ce006d15
17 changed files with 376 additions and 198 deletions
|
|
@ -41,7 +41,7 @@ class WebPage(BaseModel):
|
|||
|
||||
def get_slim_soup(self, keep_links: bool = False):
|
||||
soup = _get_soup(self.html)
|
||||
keep_attrs = ["class"]
|
||||
keep_attrs = ["class", "id"]
|
||||
if keep_links:
|
||||
keep_attrs.append("href")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue