How to download images,css,js files of webpage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jambalapamba
    New Member
    • Nov 2007
    • 23

    How to download images,css,js files of webpage

    Hi all,



    I want to download images,css,js files referenced by a webpage. I am doing this by downloading the HTML of webpage and getting all the URL references in the html and using URL and WebRequest downloading the images and css files. Is there any better way of doing this.Its taking a long time with my method.



    Any suggestions will be great thaking you in advance.
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Depending on your parsing method and how bit the files are it should be pretty quick?
    Parsing the HTML file (regex?) and then ussing HttpWebRequests would be the way I would go.

    Comment

    Working...