Scrape a webpage in PHP or JAVA

  • Status: Closed
  • Prize: $250
  • Entries Received: 9
  • Winner: shajijohnc

Contest Brief

Write the PHP or Java code to create a screenshot of a single web page. In this website we have a million different members who have unique license numbers. The license number is a six digit number given at the end of the web address below. In this example it is 999480. I need a program where I will feed in the license number and you will generate a screenshot of the full page.

To show me that your code is working you must make the following web page:

A web page with a text box and a button. Text box will be where I enter the license number. When I press the “Scrape” button your program will take a screenshot of the CSLB page of the given license number and download the resulting image or pdf to my computer.

https://www2.cslb.ca.gov/OnlineServices/CheckLicenseII/LicenseDetail.aspx?LicNum=999480

If you can capture the image of the website properly then I will declare you the winner. Below is the sample image that your program will have to generate

Recommended Skills

Employer Feedback

“Great Work !!!!”

Profile image soodlahiri7, India.

Public Clarification Board

  • HeshamMeneisi
    HeshamMeneisi
    • 11 years ago

    Since you are working on windows, would you mind if the app is C# .NET?

    • 11 years ago
  • Apollone
    Apollone
    • 11 years ago

    The best solution is to use a C library for the conversion.
    The request page will be in PHP and you wont notice the difference.

    If it's good I will do it very fast.

    • 11 years ago
    1. Madaky01
      Madaky01
      • 11 years ago

      My software visit and generate the printscreen of each code in about 2 seconds, the advantage is that you can run multiple instances as long your hardware performance allow you. If you don't have enough resources i can offer my machine to generate these 150k printscreens for you.

      • 11 years ago
    2. Apollone
      Apollone
      • 11 years ago

      Sorry for the delay.
      yes, it can, and very fast.
      I can do the job in a couple day.

      • 11 years ago
  • dengzuolin
    dengzuolin
    • 11 years ago

    Would you like to let me know which OS platform will you run this program on?

    • 11 years ago
    1. soodlahiri7
      Contest Holder
      • 11 years ago

      windows server 2008 will the the OS. It should also be able to run on a windows 7 machine

      • 11 years ago
  • shajijohnc
    shajijohnc
    • 11 years ago

    Hi, I can do this quickly. I can give a java tool to invoke the url which saves the screenshot to local directory

    • 11 years ago
  • Binoy K
    Binoy K
    • 11 years ago

    I am Web Crawl developer having 2.5 years of experience. I can scrap webpage for you in either Java or PHP whatever you would like. Please get in touch with me if you are interested.

    • 11 years ago
  • eperfections
    eperfections
    • 11 years ago

    I can develop this scraper for you as I have already developed many. Please get back to me to discuss details.

    • 11 years ago
  • amitt800
    amitt800
    • 11 years ago

    You can user Curl in PHP and HttpURLConnection in Java

    • 11 years ago
  • satishlogic1
    satishlogic1
    • 11 years ago

    yes i can make this type of tool which would take license no. and scrape the whole screen..pm me to discuss in detail. thanks.

    • 11 years ago
  • Madaky01
    Madaky01
    • 11 years ago

    You're intrested in any other methods(not pure programming - similar with a macro) to make your final app? Also it will be easier and faster to load a file with license numbers and take printscreen to all of em.

    • 11 years ago

Show more comments

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!