Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jun 2009
    Posts
    12
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Given URL, capture HTML source from command line

    In, for example, Internet Explorer, you can view the html source code by right-clicking and then selecting the option "View Source". This results in an editor, such as Notepad, opening showing the html source code.

    My question is this: Given the URL, is there a way from a command line shell to send the HTML source code to a file?

    Thanks for your help.
    Andynic
    Last edited by andynic; 07-17-2009 at 09:21 AM. Reason: Mark resolved.

  • #2
    Senior Coder tomws's Avatar
    Join Date
    Nov 2007
    Location
    Arkansas
    Posts
    2,644
    Thanks
    29
    Thanked 330 Times in 326 Posts
    GNU Tools wget. Windows version of wget.
    Are you a Help Vampire?

  • Users who have thanked tomws for this post:

    andynic (07-17-2009)

  • #3
    New Coder
    Join Date
    Jun 2009
    Posts
    12
    Thanks
    5
    Thanked 0 Times in 0 Posts
    Thanks much. Wget does exactly what I want.


  •  

    Posting Permissions

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