Using regex and PhantomJS find linked 300x250 images

Closed

Using PhantomJS save source site to folder /dump (eg. md5("[url removed, login to view]").".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:

[url removed, login to view]

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=[url removed, login to view];labels=[url removed, login to view],[url removed, login to view],[url removed, login to view],[url removed, login to view];rtbip=[url removed, login to view];rtbdata2=EAQaE0JpZ0NvbW1lcmNlX0ZlYjIwMTMgufIGKLLBATDD3SA6FGh0dHA6Ly93d3cuY3Vyc2UuY29tQgcIwv1gEI4BWig1X0daS09PanpTWF8tWm9wNUtPR2ViZnhteVhfOE1ndjRfZ3hidHB1gAGytpmECqABAagBs-ZgsAEBugEoNV9HWktPT2p6U1hfLVpvcDVLT0dlYmZ4bXlYXzhNZ3Y0X2d4YnRwdcABwIQ9yAHsl-zt0CfaASgxMDIyZjNlODllZjE2MTA2ZjY4NGYwOGZlZjU0NzdhNGU4ZTI3MzY16AFk;redirecturl2=[url removed, login to view];abr=!ie4;abr=!ie5;dcopt=;sz=300x250;ord=734995430?

Image = [url removed, login to view];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"

Skills: Javascript, PHP, Software Architecture, UNIX

See more: phantomjs regex, phantomjs preg_match, www linked, the itime, regex example, regex c, linked n, linked i, linked com, find javascript, curse com, regex &, php regex test, abr, rtb, regex, php regex, phantomjs, ord, linked, kp, find images, find 24, doubleclick, c++ regex

Project ID: #4276717

3 freelancers are bidding on average $133 for this job

srinichal

I can deliver the projcet

$250 USD in 5 days
(98 Reviews)
6.9
rajeshsonisl

Quality work assured. Ready to get started. Thanks.

$100 USD in 1 day
(373 Reviews)
6.9
Torricelli

I agree. Let's get this done right away!

$50 USD in 0 days
(4 Reviews)
2.2