{"category":"web","endpoint":"https://setget.net/v1/tools/html-extract-links","examples":[{"input":{"base_url":"https://example.com/blog/","text":"<a href=\"/about\">About us</a> <a href=\"https://other.example/\" rel=\"nofollow noopener\">Partner</a><img src=\"logo.png\"><img src=\"team.jpg\" alt=\"The team\">"},"output":{"counts":{"external":1,"images":2,"images_missing_alt":1,"internal":1,"links":2},"images":[{"alt":null,"missing_alt":true,"src":"logo.png","url":"https://example.com/blog/logo.png"},{"alt":"The team","missing_alt":false,"src":"team.jpg","url":"https://example.com/blog/team.jpg"}],"links":[{"href":"/about","kind":"internal","nofollow":false,"rel":[],"text":"About us","url":"https://example.com/about"},{"href":"https://other.example/","kind":"external","nofollow":true,"rel":["nofollow","noopener"],"text":"Partner","url":"https://other.example/"}],"truncated":false}}],"input_schema":{"additionalProperties":false,"properties":{"base_url":{"description":"The address of the page, used to resolve relative links and to tell internal from external.","examples":["https://example.com/blog/"],"maxLength":8192,"type":"string"},"text":{"description":"The HTML to scan.","examples":["<a href=\"/about\">About us</a> <a href=\"https://other.example/\" rel=\"nofollow\">Partner</a>"],"type":"string"}},"required":["text"],"type":"object"},"keywords":["extract links","html links","href","anchor text","nofollow","internal links","external links","image alt","seo audit"],"related":["html-to-text","og-tags-extract","url-join","robots-test"],"slug":"html-extract-links","summary":"List every link and image in HTML, with link text, resolved address, rel values and internal or external.","tier":"inline","title":"HTML link extractor","url":"https://setget.net/tools/html-extract-links"}
