WebScraping.AI

v1.0.7
io.github.webscraping-ai/webscraping-ai Checked 3 hours ago Published 4 months ago

Web scraping tools with Chromium JS rendering, rotating proxies, and AI question answering.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

webscraping_ai_question

ParameterTypeDescription
question *stringQuestion or instructions to ask the LLM model about the target page.
url *stringURL of the target page.
countrystringCountry of the proxy to use (US by default).
custom_proxystringYour own proxy URL in "http://user:password@host:port" format.
devicestringType of device emulation.
error_on_404booleanReturn error on 404 HTTP status on the target page (false by default).
error_on_redirectbooleanReturn error on redirect on the target page (false by default).
jsbooleanExecute on-page JavaScript using a headless browser (true by default).
js_scriptstringCustom JavaScript code to execute on the target page.
js_timeoutnumberMaximum JavaScript rendering time in ms (2000 by default).
proxystringType of proxy: datacenter, residential, or stealth (residential by default). Use residential if the site restricts datacenter traffic, or stealth for the most heavily protected sites with advanced ant…
timeoutnumberMaximum web page retrieval time in ms (15000 by default, maximum is 30000).
wait_forstringCSS selector to wait for before returning the page content.

webscraping_ai_fields

ParameterTypeDescription
fields *objectDictionary of field names with instructions for extraction.
url *stringURL of the target page.
countrystringCountry of the proxy to use (US by default).
custom_proxystringYour own proxy URL in "http://user:password@host:port" format.
devicestringType of device emulation.
error_on_404booleanReturn error on 404 HTTP status on the target page (false by default).
error_on_redirectbooleanReturn error on redirect on the target page (false by default).
jsbooleanExecute on-page JavaScript using a headless browser (true by default).
js_scriptstringCustom JavaScript code to execute on the target page.
js_timeoutnumberMaximum JavaScript rendering time in ms (2000 by default).
proxystringType of proxy: datacenter, residential, or stealth (residential by default). Use residential if the site restricts datacenter traffic, or stealth for the most heavily protected sites with advanced ant…
timeoutnumberMaximum web page retrieval time in ms (15000 by default, maximum is 30000).
wait_forstringCSS selector to wait for before returning the page content.

webscraping_ai_html

ParameterTypeDescription
url *stringURL of the target page.
countrystringCountry of the proxy to use (US by default).
custom_proxystringYour own proxy URL in "http://user:password@host:port" format.
devicestringType of device emulation.
error_on_404booleanReturn error on 404 HTTP status on the target page (false by default).
error_on_redirectbooleanReturn error on redirect on the target page (false by default).
formatstringResponse format (json or text).
jsbooleanExecute on-page JavaScript using a headless browser (true by default).
js_scriptstringCustom JavaScript code to execute on the target page.
js_timeoutnumberMaximum JavaScript rendering time in ms (2000 by default).
proxystringType of proxy: datacenter, residential, or stealth (residential by default). Use residential if the site restricts datacenter traffic, or stealth for the most heavily protected sites with advanced ant…
return_script_resultbooleanReturn result of the custom JavaScript code execution.
timeoutnumberMaximum web page retrieval time in ms (15000 by default, maximum is 30000).
wait_forstringCSS selector to wait for before returning the page content.

webscraping_ai_text

ParameterTypeDescription
url *stringURL of the target page.
countrystringCountry of the proxy to use (US by default).
custom_proxystringYour own proxy URL in "http://user:password@host:port" format.
devicestringType of device emulation.
error_on_404booleanReturn error on 404 HTTP status on the target page (false by default).
error_on_redirectbooleanReturn error on redirect on the target page (false by default).
jsbooleanExecute on-page JavaScript using a headless browser (true by default).
js_scriptstringCustom JavaScript code to execute on the target page.
js_timeoutnumberMaximum JavaScript rendering time in ms (2000 by default).
proxystringType of proxy: datacenter, residential, or stealth (residential by default). Use residential if the site restricts datacenter traffic, or stealth for the most heavily protected sites with advanced ant…
return_linksbooleanReturn links from the page body text.
text_formatstringFormat of the text response.
timeoutnumberMaximum web page retrieval time in ms (15000 by default, maximum is 30000).
wait_forstringCSS selector to wait for before returning the page content.

webscraping_ai_selected

ParameterTypeDescription
selector *stringCSS selector to extract content for.
url *stringURL of the target page.
countrystringCountry of the proxy to use (US by default).
custom_proxystringYour own proxy URL in "http://user:password@host:port" format.
devicestringType of device emulation.
error_on_404booleanReturn error on 404 HTTP status on the target page (false by default).
error_on_redirectbooleanReturn error on redirect on the target page (false by default).
formatstringResponse format (json or text).
jsbooleanExecute on-page JavaScript using a headless browser (true by default).
js_scriptstringCustom JavaScript code to execute on the target page.
js_timeoutnumberMaximum JavaScript rendering time in ms (2000 by default).
proxystringType of proxy: datacenter, residential, or stealth (residential by default). Use residential if the site restricts datacenter traffic, or stealth for the most heavily protected sites with advanced ant…
timeoutnumberMaximum web page retrieval time in ms (15000 by default, maximum is 30000).
wait_forstringCSS selector to wait for before returning the page content.

webscraping_ai_selected_multiple

ParameterTypeDescription
selectors *arrayArray of CSS selectors to extract content for.
url *stringURL of the target page.
countrystringCountry of the proxy to use (US by default).
custom_proxystringYour own proxy URL in "http://user:password@host:port" format.
devicestringType of device emulation.
error_on_404booleanReturn error on 404 HTTP status on the target page (false by default).
error_on_redirectbooleanReturn error on redirect on the target page (false by default).
jsbooleanExecute on-page JavaScript using a headless browser (true by default).
js_scriptstringCustom JavaScript code to execute on the target page.
js_timeoutnumberMaximum JavaScript rendering time in ms (2000 by default).
proxystringType of proxy: datacenter, residential, or stealth (residential by default). Use residential if the site restricts datacenter traffic, or stealth for the most heavily protected sites with advanced ant…
timeoutnumberMaximum web page retrieval time in ms (15000 by default, maximum is 30000).
wait_forstringCSS selector to wait for before returning the page content.

webscraping_ai_account