mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
update imitate_webpage.py
This commit is contained in:
parent
23fdf90d21
commit
38929dc124
1 changed files with 2 additions and 1 deletions
|
|
@ -9,7 +9,8 @@ from metagpt.roles.code_interpreter import CodeInterpreter
|
|||
|
||||
|
||||
async def main():
|
||||
prompt = """This is a URL of webpage: 'https://www.baidu.com/' .
|
||||
web_url = 'https://www.baidu.com/'
|
||||
prompt = f"""This is a URL of webpage: '{web_url}' .
|
||||
Firstly, utilize Selenium and WebDriver for rendering.
|
||||
Secondly, convert image to a webpage including HTML, CSS and JS in one go.
|
||||
Finally, save webpage in a text file.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue