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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jalindar Gat
    New Member
    • Dec 2010
    • 2

    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:

    Code:
    import urllib
    # Get a file-like object for the Python Web site's home page.
    f = urllib.urlopen("http://www.python.org")
    # Read from the object, storing the page's contents in 's'.
    s = f.read()
    print s
    f.close()

    Thanks in advance........ ..
Working...