linkcheck.htmlutil.srcsetparse

srcset attribute parser

Functions

parse_srcset(input)

Parse HTML srcset

linkcheck.htmlutil.srcsetparse.parse_srcset(input)[source]

Parse HTML srcset

Based on WhatWG HTML standard § 4.8.4.3.10 Parsing a srcset attribute, but does not parse or validate descriptors.

https://html.spec.whatwg.org/multipage/images.html#parse-a-srcset-attribute