You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that the ports are currently assigned randomly, using any free port. It would be helpful if there were a provision to use custom ports, as this would assist in better management of firewalls.
The text was updated successfully, but these errors were encountered:
do
python -m pip install bota botasaurus botasaurus-api botasaurus-requests botasaurus-driver bota botasaurus-proxy-authentication botasaurus-server --upgrade
test with
from botasaurus.browser import browser, Driver
@browser(port=45454)
def scrape_heading_task(driver: Driver, data):
# Visit the Omkar Cloud website
driver.get("https://google.com/", timeout=100)
# Retrieve the heading element's text
heading = driver.get_text("h1")
# Save the data as a JSON file in output/scrape_heading_task.json
return {
"heading": heading
}
# Initiate the web scraping task
scrape_heading_task()
I see that the ports are currently assigned randomly, using any free port. It would be helpful if there were a provision to use custom ports, as this would assist in better management of firewalls.
The text was updated successfully, but these errors were encountered: