Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to get the javascript part

How to get the javascript part

Scheduled Pinned Locked Moved C / C++ / MFC
javascriptc++htmlsysadminagentic-ai
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raja jamwal
    wrote on last edited by
    #1

    I am working on an application that have to retrive something after the javascript timer timesout... like there in rapidshare you have a js timer, when it times out you are shown the link... Now the problem is I have used WININET to do http work send a url to server retrive the response I found that the javascript part, which when i saw page source in browser was something like <html>..... ....... ...</html> <script>..... JS Part </script> Now in the reponse em getting, there is no script part, but there is other js parts. i have tried changing the USER - AGENT .. Plz reply, no MFC, just winapi please..

    2 R 2 Replies Last reply
    0
    • R raja jamwal

      I am working on an application that have to retrive something after the javascript timer timesout... like there in rapidshare you have a js timer, when it times out you are shown the link... Now the problem is I have used WININET to do http work send a url to server retrive the response I found that the javascript part, which when i saw page source in browser was something like <html>..... ....... ...</html> <script>..... JS Part </script> Now in the reponse em getting, there is no script part, but there is other js parts. i have tried changing the USER - AGENT .. Plz reply, no MFC, just winapi please..

      2 Offline
      2 Offline
      224917
      wrote on last edited by
      #2

      The HTML you got back, is that the right one you were expecting?

      -Suhredayan

      1 Reply Last reply
      0
      • R raja jamwal

        I am working on an application that have to retrive something after the javascript timer timesout... like there in rapidshare you have a js timer, when it times out you are shown the link... Now the problem is I have used WININET to do http work send a url to server retrive the response I found that the javascript part, which when i saw page source in browser was something like <html>..... ....... ...</html> <script>..... JS Part </script> Now in the reponse em getting, there is no script part, but there is other js parts. i have tried changing the USER - AGENT .. Plz reply, no MFC, just winapi please..

        R Offline
        R Offline
        raja jamwal
        wrote on last edited by
        #3

        ok I am done with that,I was actually working on a web crawler, actually a file crawler. I tricked out some php dlls and loaded it in my Win32 app and used it to retrive source and it is working pretty cool.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups