Project Description:
Using PhantomJS save source site to folder /dump (eg. md5("http://curse.com").".php";)
Then with PHP using preg_match find ALL images hyper-linked 300x250 and insert saved image URL and href URL into mySQL databse with INSERT
Example:
https://www.dropbox.com/s/plkslv8odv79dya/sample.html
will output:
Link = http://adserver.adtechus.com/adlink/5399/2447200/0/170/AdId=3945164;BnId=1;itime=734995430;kvp36=p36%2D0mny8vrljxrkusja;kr11092=1673248;kvl=24754;kr14135=1673246;kvc=536259;kvs=300x250;kvi=1022f3e89ef16106f684f08fef5477a4e8e27365;kva=p%2Ddeu8vl41tlpv2;kp=211995;nodecode=yes;link=http://exch.quantserve.com/r?a=p-deU8VL41Tlpv2;labels=_qc.clk,_click.adserver.rtb,_click.rand.40996,_qc.template;rtbip=64.7.198.221;rtbdata2=EAQaE0JpZ0NvbW1lcmNlX0ZlYjIwMTMgufIGKLLBATDD3SA6FGh0dHA6Ly93d3cuY3Vyc2UuY29tQgcIwv1gEI4BWig1X0daS09PanpTWF8tWm9wNUtPR2ViZnhteVhfOE1ndjRfZ3hidHB1gAGytpmECqABAagBs-ZgsAEBugEoNV9HWktPT2p6U1hfLVpvcDVLT0dlYmZ4bXlYXzhNZ3Y0X2d4YnRwdcABwIQ9yAHsl-zt0CfaASgxMDIyZjNlODllZjE2MTA2ZjY4NGYwOGZlZjU0NzdhNGU4ZTI3MzY16AFk;redirecturl2=http://ad.doubleclick.net/jump/N6989.151350.QUANTCAST/B7404256.3;abr=!ie4;abr=!ie5;dcopt=;sz=300x250;ord=734995430?
Image = http://ad.doubleclick.net/ad/N6989.151350.QUANTCAST/B7404256.3;abr=!ie4;abr=!ie5;dcopt=;sz=300x250;ord=734995430?
Most of the time there will be more than 1 image
The images then get saved into folder /ads with filename md5(image filename).(gif/jpg/png)
Test server will be provided also mysql database
If you understand type "I agree"