Using regex and PhantomJS find linked 300x250 images

This project received 3 bids from talented freelancers with an average bid price of $133 USD.

Get free quotes for a project like this
Employer working
Project Budget
Total Bids
Project Description

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


[url removed, login to view]

will output:

Link =;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"

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online