$echo '{
< "pages": [
< {
< "id": "001",
< "url": "https://example.com/en",
< "status": 200,
< "canonical": "https://example.com/en",
< "alternates": [
< {
< "language": "en-GB",
< "url": "https://example.com/en",
< "source": "html:head/link[1]"
< },
< {
< "language": "de",
< "url": "https://example.de/de",
< "source": "html:head/link[2]"
< },
< {
< "language": "zh-Hans",
< "url": "https://example.com/zh",
< "source": "html:head/link[3]"
< }
< ]
< },
< {
< "id": "002",
< "url": "https://example.de/de",
< "status": 200,
< "canonical": "https://example.de/de",
< "alternates": [
< {
< "language": "EN-GB",
< "url": "https://example.com/en",
< "source": "html:head/link[1]"
< },
< {
< "language": "DE",
< "url": "https://example.de/de",
< "source": "html:head/link[2]"
< },
< {
< "language": "ZH-HANS",
< "url": "https://example.com/zh",
< "source": "html:head/link[3]"
< }
< ]
< },
< {
< "id": "003",
< "url": "https://example.com/zh",
< "status": 200,
< "canonical": "https://example.com/zh",
< "alternates": [
< {
< "language": "en-GB",
< "url": "https://example.com/en",
< "source": "html:head/link[1]"
< },
< {
< "language": "de",
< "url": "https://example.de/de",
< "source": "html:head/link[2]"
< },
< {
< "language": "zh-Hans",
< "url": "https://example.com/zh",
< "source": "html:head/link[3]"
< }
< ]
< },
< {
< "id": "004",
< "url": "https://shop.example.com/en/item",
< "status": 200,
< "alternates": [
< {
< "language": "en",
< "url": "https://shop.example.com/en/item"
< },
< {
< "language": "fr",
< "url": "https://shop.example.fr/fr/item"
< }
< ]
< },
< {
< "id": "005",
< "url": "https://shop.example.fr/fr/item",
< "status": 200,
< "alternates": [
< {
< "language": "fr",
< "url": "https://shop.example.fr/fr/item"
< }
< ]
< },
< {
< "id": "006",
< "url": "https://example.org/catalog",
< "alternates": [
< {
< "language": "en",
< "url": "https://example.org/catalog"
< },
< {
< "language": "de",
< "url": "https://example.org/de/catalog"
< },
< {
< "language": "zh-Hans",
< "url": "/zh/catalog"
< }
< ]
< }
< ]
<}' |
<apify call h_murdock/hreflang-cluster-audit --silent --output-dataset