Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6996381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:08:56+00:00 2026-05-27T20:08:56+00:00

I am parsing a webpage using a BufferedReader wrapped around an InputStream in Java:

  • 0

I am parsing a webpage using a BufferedReader wrapped around an InputStream in Java:

HttpURLConnection conn = (HttpURLConnection)url.openConnection(myUrl);
InputStream stream = conn.getInputStream();

The problem is that the numbers I want to get from the page are dynamically generated with Ajax calls, and aren’t available in the stream. Is there some way I can refresh the stream after waiting a bit, or can anyone think of some other way to get the data? The page is here. The numbers I need are the “Dollar Volume” and “Share Volume” in the middle of the page.

Thanks,
Jared

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:08:57+00:00Added an answer on May 27, 2026 at 8:08 pm

    If the numbers are generated with Ajax calls, then your code needs to make those Ajax calls. The only thing akin to “refreshing the stream” is reloading the page, and that’s still not going to have the numbers in if they’re usually loaded by separate web requests by the Javascript on the client.

    Just find what requests the Javascript makes, and make the same requests from your own code.

    (You should check that the web site in question is happy for you to scrape their data like this, by the way.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making an android program that retrieves content of a webpage using HttpURLConnection. I'm
I'm working on application which has workflow like this: 1.parsing home page (using HttpURLConnection,
I'm currently passing some date-time info to a web page using url parameters, which
Ok, I have a very frustrating problem. I am parsing a webpage and need
I am using PHP to read in a .txt file, and parsing the data
I'm trying to parse a webpage using open-uri + hpricot but it seems to
I was parsing a webpage but sometimes I copy something that appears to be
I'm currently loading a webpage using a thread and I need a progress bar
So I'm parsing data from twitter api in rails using the twitter library, and
is there any method to call a webpage using curl or anything else ,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.