lib/crawler.js
function(string) {
            var result = /\ssrcset\s*=\s*("|')(.*?)\1/.exec(string);
            return Array.isArray(result) ? String(result[2]).split(",").map(function(string) {
                return string.trim().split(/\s+/)[0];
            }) : "";
        }
function(string) {
            var result = /\ssrcset\s*=\s*("|')(.*?)\1/.exec(string);
            return Array.isArray(result) ? String(result[2]).split(",").map(function(string) {
                return string.trim().split(/\s+/)[0];
            }) : "";
        }
function ( string ) { var result = / \ssrcset\s*=\s*("|')(.*?)\1 / . exec ( string ) ; return Array . isArray ( result ) ? String ( result [ 2 ] ) . split ( "," ) . map ( function ( string ) { return string . trim ( ) . split ( / \s+ / ) [ 0 ] ; } ) : "" ; }
Find srcset links
Find srcset links