You're looking at a specific version of this model. Jump to the model overview.

myaiteam2 /websitescraper2:033c91f0

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
url
string
https://www.apple.com
The website to scrape. Just paste any URL or domain " "(e.g. website.com, https//:website.com, www.website.com) - it's " "automatically cleaned up and fixed.
max_pages
integer
6

Min: 1

Max: 15

Max number of pages to crawl (homepage + contact/about/info pages).
timeout_seconds
integer
15

Min: 5

Max: 60

Max seconds to wait for each individual page to load.
phone_region
string
US
Default 2-letter country code used to parse local-format phone numbers " "(e.g. US, GB, CA).

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'properties': {'emails': {'items': {'type': 'object'},
                           'title': 'Emails',
                           'type': 'array'},
                'image_urls': {'items': {'type': 'object'},
                               'title': 'Image Urls',
                               'type': 'array'},
                'pages': {'items': {'type': 'object'},
                          'title': 'Pages',
                          'type': 'array'},
                'pages_visited': {'items': {'type': 'object'},
                                  'title': 'Pages Visited',
                                  'type': 'array'},
                'phone_numbers': {'items': {'type': 'object'},
                                  'title': 'Phone Numbers',
                                  'type': 'array'},
                'social_links': {'title': 'Social Links', 'type': 'object'}},
 'required': ['pages_visited',
              'emails',
              'phone_numbers',
              'social_links',
              'image_urls',
              'pages'],
 'title': 'Output',
 'type': 'object'}