473,322 Members | 1,232 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

How to down load web page with script(JAVA) in it?

Hi all,
I want to get information in the web page, but information i want to take is in Java script as it is dynamic and server changes it periodically.

can i get it using simple code:

Expand|Select|Wrap|Line Numbers
  1. import urllib
  2. # Get a file-like object for the Python Web site's home page.
  3. f = urllib.urlopen("http://www.python.org")
  4. # Read from the object, storing the page's contents in 's'.
  5. s = f.read()
  6. print s
  7. f.close()

Thanks in advance..........
Dec 6 '10 #1
0 1411

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: tmb | last post by:
1 - Can you build an entire web page or site with Java... sorta like you can with Flash? 2 - Can you do... .. Drag & Drop .. Push Buttons .. Hot Spot .. Hot Object .. Pull Down's (combo...
3
by: Francois | last post by:
Is it possible to automatically create an array on load page? I want my script to be external. (<script language="JavaScript" src="somescript.js"></script>) Several pages should use this...
0
by: nimbooin | last post by:
Hai I am new to javascript and i have to work on this in the project. My task is to parse the DOM for the given HTML page and extract the script tags content and evaluate them through rhino...
1
by: anilbhu | last post by:
Hi, Is it possible to set default home page using java technology. By using this.setHomePage() of javascript we can achieve this but, it works only for IE and not for any other browser. Can...
1
by: iamvani | last post by:
hi , i am creating a sign in page but it is not completed .can u help me create a signin page using java(swing).or jsp
3
by: shinji | last post by:
So I when I go to page: www.myurl.com/test.php?uid=12345 I want to run a java script in the page that goes like <script language="JavaScript"...
1
by: rajakolluri | last post by:
Hi, This is Raja.....i am new joiner of this forum. here is my question. i strucked up in manipulating the tab indexes of image tags and buttons that are defined in html using java script. Here...
2
by: abhishekbrave | last post by:
Hi I have a combo box having the values of year. <select name=year value=2008> <option value=2007>2007</option> <option value=2007>2006</option> <option value=2007>2005</option> </select>& I...
2
by: prashan.buddhika | last post by:
Hello, I need to access java class in a jar file using a javascript. Is there any way to do this other than using a java applet ? Please help .. Prashan
6
by: rmurgia | last post by:
I set up a page which allows the user to add data to a table. I would like to then re-load the page to display all of the data in a list including the data the user entered. I currently have fields...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.