Fix a issue when using htmlunit to scrape webpages

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

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


I have this piece of code which used to be working. It uses htmlunit to get webpages. But recently I tried to use it again and it seems having issues. The Warning message I got was
WARNING: Obsolete content type encountered: 'application/x-javascript'.
Apr 06, 2013 9:31:21 PM [url removed, login to view] notify

I need your help to fix it for me so that the program can scrape the webpages. I attach the code for you to examine what is wrong and if you can help.

thanks for your bid,

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