Suljettu

Using regex and PhantomJS find linked 300x250 images

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"

Taidot: Javascript, PHP, tietojärjestelmäarkkitehtuuri, UNIX

Näytä lisää: phantomjs regex, the itime, regex example, regex c, linked n, linked i, find javascript, php regex test, abr, rtb, regex, php regex, phantomjs, ord, linked, kp, find images, find 24, doubleclick, c regex, kvl, php regex html, php image href, dump net, insert javascript html

About the Employer:
( 2 reviews ) Seattle, United States

Projektin tunnus: #4276717

3 freelanceria on tarjonnut keskimäärin 133 $ tähän työhön

srinichal

I can deliver the projcet

250 $ USD 5 päivässä
(98 arvostelua)
6.9
rajeshsonisl

Quality work assured. Ready to get started. Thanks.

100 $ USD 1 päivässä
(373 arvostelua)
6.9
Torricelli

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

50 $ USD 0 päivässä
(4 arvostelua)
2.2