Results 1 to 2 of 2

Thread: Scrping content from HTMLwhich executes code/text using javascript

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    113

    Scrping content from HTMLwhich executes code/text using javascript

    i use httpwebrequest to obtain HTML source from a website.

    Now when the HTML source is downloaded and obtained using streamreader. instead of the details I need I get
    some messages saying "your browser need javascript enabled"

    I know I can use a web browser control but is there a way to "execute" the javascript using httpwebrequest and get the data/text it should show?

  2. #2
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 2012
    Posts
    8,245

    Re: Scrping content from HTMLwhich executes code/text using javascript

    Well, no. Javascript only runs in a javascript environment. All you're doing in essence is downloading a text file.

Posting Permissions

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



Click Here to Expand Forum to Full Width