View Single Post
Old July 18th, 2017, 11:16 AM   #55
effCup
Vintage Idiot
 
effCup's Avatar
 
Join Date: Feb 2012
Location: History
Posts: 22,135
Thanks: 226,717
Thanked 356,746 Times in 21,630 Posts
effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+
Default

Quote:
Originally Posted by beechcott View Post
I tested it on that thread, and all of the photos in post #5 downloaded as only thumbnails.
Ahh, good spotting.

Try this instead:

Host Label: pixxxels
URL Pattern: ^https?:\/\/(?:s\d+\.)?pixxxels\.org\/image\/.+$
Search Pattern:
Code:
function(pageData, pageUrl) {
	var iUrl = pageData.match(/id=('|")main-image\1 src=('|")(https?:\/\/s\d+\.pixxxels\.org\/.+?\.jpg)\2/);
	return iUrl ? {imgUrl: iUrl[3] + "?dl=1", status: "OK"} : {imgUrl: null, status: "ABORT"}
}
effCup is offline   Reply With Quote
The Following 7 Users Say Thank You to effCup For This Useful Post: