Docs
API 1.39
Status
Fields

base_url

The `base_url` option of an extract field.

url fields: the base a relative URL is resolved against.

Type: string

#Example

{
  "url": {
    "selector": "a",
    "attr": "href",
    "type": "url",
    "base_url": "https://shop.example.com"
  }
}

From the contract fixture product-page-list-regex-json, a program the test suite validates.

Was this page helpful?