|
|
Subject:
Need to find url to extract data on web page
Category: Computers > Programming Asked by: 123needanswer-ga List Price: $50.00 |
Posted:
17 Jun 2006 06:40 PDT
Expires: 18 Jun 2006 07:05 PDT Question ID: 738924 |
I am looking to extract the data from a webpage. It is a dynamic page so I am writing a java class to download it but I can?t find the url. I can explain with a simple example. If you go on www.betfair.com. On the left you see a full list of the market. I need to download this list of markets. This is a tree. The data is on 2 files. The first one is http://www.betfair.com/Menu.do?timeZone=Europe/London®ion=GBR_IRL&locale=en_GB&brand=betfair You can go in internet explorer, add the address and check the source. I need the url for the second file. I am going to select a simple example to explain the second page. From www.betfair.com, if you select politics then UK, then Next General Election you can see that there are 2 markets called ?Most seats? and ?Overall majority?. In this example, there are only 2 markets but it could be a lot more. I have chosen this example because it should stay the same over the next weeks. I need the url of the page with the data for the markets. (list of names) If you look at the source of the first file, you can see the different nodes for politics. 2378961~0~Politics~0|5589635~2378961~Czech Republic~1|5519298~2378961~European~1|2451793~2378961~Ireland~1|4577453~2378961~Sweden~1|2707982~2378961~UK~1|5387309~2707982~Blaenau Gwent By Elec~1|5548852~2707982~Bromley By Election~1|2725553~2707982~Next General Election~1|2839625~2378961~USA~0|2839626~2839625~2008 Election~1|72382~0~Pool~0 You can see UK and Next General Election. But you can?t see ?most seats? and ?overall majority?. I need to see the file with the data containing the list of markets. The file should show a list of all the markets available, in that case the name of the 2 markets. I can?t find the url for the second part. If you can give me the url containing the list of markets and I can see the source file by typing the url in internet explorer, that should be enough and I can add the url in my java class. I have tried different urls but I did not manage to find out the correct one. I thought it will be http://www.betfair.com/menu/LoadMenuNodesAction.do?sReturnPath=parent.frames['menu']&method=getMenuEvents&menuNodeId=2725553&strArrayName=allSkeletonArray&iParentID=2725553&layerName=myMarketsTreeContainer&strMenuPathArrayName=allPathArray&menuPathLayer=menu for the list of markets in next general election but when I check the source the data is not there. The number 2725553 is the ID for next general election. |
|
There is no answer at this time. |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |