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

  • SEARCH
  • Home
  • 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 9169979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:57:12+00:00 2026-06-17T15:57:12+00:00

I learn about jSoup recently and would like to dive more into it. However,

  • 0

I learn about jSoup recently and would like to dive more into it. However, I have met obstacle handling webpages with javascript (I have no knowledge in js, yet :/).

I have read that htmlunit would be the correct tool to perform webbrowser actions, but I figured out that I would need no knowledge in js if I can find out the JSON object obtained in the webpage using the javascript.

For example, this page:
among the source files, one of them is tooltips.js. In this file, variable rgNeededFeeds is generated and called in method LoadHeropediaData(), which is the method to generate the whole URL link for getting the json object.

URL = URL + 'jsfeed/heropediadata?feeds='+strFeeds+'&v=3633666222511362823&l=english';

I could not get my mind on what is actually strFeeds. I have tried various combinations but it doesn’t work (it returned an empty array…). Or, my guess is totally off?

What I actually need is the data it displays on top when you click on one of the “items”. The info in the “hover” would do too, but it lack the “recepi” info. And I’m presuming that by getting the json object from the full URL above, well, basically all data infos should be in that json.

Anyways, this is only based on what I understand from staring at those source files for hours. Do correct me if I’m wrong. (I’m in Java by the way)

**p/s: I would also like to take this opportunity to express my thanks to Balusc, he has been everywhere when I have doubts on jSoup. :>*

  • 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-06-17T15:57:13+00:00Added an answer on June 17, 2026 at 3:57 pm

    strFeeds is nothing but one of these two strings : itemdata or abilitydata

    You can find this in tooltips.js at line 38-45

    var rgNeededFeeds = [];
    $.each( [ 'item', 'ability' ], 
    function( i, ttType ){
            icons = GetIconCollection( ttType );
            if ( icons.length ){
                rgNeededFeeds.push( ttType+'data' );
                     //..............
                }
         }
    )    
    

    ttType is the value of an iteration over the array [ 'item', 'ability' ] which concatenated with the string data is pushed into the array rgNeededFeeds

    The function LoadHeropediaData is called at the end of the function above with rgNeededFeeds as parameter :

    LoadHeropediaData( rgNeededFeeds );
    

    Aside note : If you begin to start scraping websites, learning javascript will be MANDATORY.

    NOTE : you’re right, the JSON contains all the information needed…

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

Sidebar

Related Questions

I would like to learn about HTML forms. For example, I have 2 input
I would like to learn about streams in C++. I have done some googling
I would like to learn about games (strategy) algorithms especially about how do enemies
Trying to learn about php's arrays today. I have a set of arrays like
I would like to learn about Java's multi-core processing. From what I understand, is
I recently endeavoured to learn about multiple threading, and ran into the following unexpected
I would like to learn about randomized trees. I could not find a good
I would like to learn about creating a program that I could draw simple
I have started to learn about python and is currently reading through a script
When I started to learn about WPF and MVVM recently, I came across some

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.