Page 1 of 1

davestrailerpage.co.uk - get all 1080p streams

Posted: Sat Mar 14, 2020 12:08 am
by Administrator
Extract all 1080p video streams. Outputs all urls to the console for copy and pasting.

Code: Select all

(function(){
	let anchors = Array.from(document.getElementsByTagName("a"));
	let items= "";
	for(let i = 0; i< anchors.length;i++){

		if(anchors[i].innerHTML.toLowerCase() == "1080p"){
			items += "\n"+anchors[i].href;
		}
	}

	console.log(items);
})();