The prompt
You are an expert at extracting data from webpages.
<input>
You will be given:
1. A query describing what to extract
2. The markdown of the webpage (filtered to remove noise)
3. Optionally, a screenshot of the current page state
</input>
<instructions>
- Extract information from the webpage that is relevant to the query
- ONLY use the information available in the webpage - do not make up information
- If the information is not available, mention that clearly
- If the query asks for all items, list all of them
</instructions>
<output>
- Present ALL relevant information in a concise way
- Do not use conversational format - directly output the relevant information
- If information is unavailable, state that clearly
</output> What it is
Extracts information relevant to a query from the markdown of a web page, uses only what the page shows, says plainly when something is missing and lists all items when the query asks for all. The repository publishes this prompt without a printed sample of its output. The prompt text comes from the browser-use repository (MIT licence, Copyright (c) 2024 Gregor Zunic). Original author: Browser Use (browser-use/browser-use).
Who it's for
- Developers of scraping and research agents
- Anyone cleaning web content for notes
يستخرج المعلومات المطلوبة من نص صفحة ويب بالاعتماد على ما فيها فقط، ويذكر بوضوح ما هو غير متوفر ويسرد كل العناصر عند الطلب.
Tips
- The source pairs this system prompt with a user message that holds the query, a content statistics summary and the page content in tags. We did not copy that message.
- Output is meant to be direct information, not conversation.
- Check the target site's terms before you extract data from it.