Results 1 to 2 of 2

Thread: Wget, shell script help

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Beans
    251

    Wget, shell script help

    I am trying to download a url using wget, and parse the data from the downloaded html. So, first I simply tried to download the url(with some url parameters, ex: www.abc.com/goodone.aspx?dateday=1&datemonth=2)

    Problem1: Wget downloaded the file and still waiting for something. Wget wont return to shell prompt.

    Problem2: The html in downloaded one and the html in browser are not same. I mean some part is missing in downloaded version. I think that missing part supposed to generate using the variables I am passing in URL.

    how do I fix above two things? If I can fix these two, then I have to write some shell logics to parse data from html.

    thanks in advance.
    Last edited by Green_Star; September 19th, 2012 at 05:19 PM.

  2. #2
    Join Date
    Mar 2006
    Beans
    251

    Re: Wget, shell script help

    Never mind, putting the double quotes around the url seems working.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •