RegEx problem

BlackWidow scans websites (it's a site ripper). It can download an entire website, or download portions of a site.
Post Reply
borgcollective
Posts: 2
Joined: Fri Aug 10, 2012 9:47 am

RegEx problem

Post by borgcollective » Fri Aug 10, 2012 9:59 am

i am trying to use blackwidow to get all the pictures from "http://www.planetdoa.com/processing/" (doaxvb), how do i go making a EXPRESSION that will scan the pictures in order from "http://www.planetdoa.com/processing/doax/01.jpg" (first one)
to "http://www.planetdoa.com/processing/doax/99.jpg" (last one)

User avatar
Support
Site Admin
Posts: 1854
Joined: Sun Oct 02, 2011 10:49 am

Re: RegEx problem

Post by Support » Fri Aug 10, 2012 10:08 am

Copy the script below and paste it in the Expert script in the Filters window and start your scan...

Code: Select all

case ScannerEvent of

	Starting:
	begin
		for x = '01' to '99' range('0'..'9') do begin
			aLink = 'http://www.planetdoa.com/processing/doax/'+x+'.jpg';
			Scanlink(aLink); // add the link to the scan queue.
		end;
	end;

	BeforeAdding:
	begin
		AcceptEvent = (DocumentType ~= 'image/'); // add any kind of images.
	end;

else
	AcceptEvent = No;

end;
Your support team.
http://SoftByteLabs.com

borgcollective
Posts: 2
Joined: Fri Aug 10, 2012 9:47 am

Re: RegEx problem

Post by borgcollective » Sun Aug 12, 2012 5:23 am

:D thanks! i make a note of that script for other future rips i may do :D

Post Reply