I'm trying to download full websites using CInternetSession. I'm trying to do something similar to Jdownloader- http://jdownloader.org/
Occured few problems: 1. There a "blind spots" when im opening .htm- no images at all, except google ads. So the question is: Do i have to parse source code, fish out all "href" links and download additional data separately into appropriate folders? like:<img href="/image/logo.jpg"
2. What about redirects? Frames loading other websites after 4ex. ~2 second. How can i force my code to wait for additional data?
3. Is there any possibility to use threads with CInternetSession to download and manage 10 websites simultaneously(Asynchronous communication)?
4. Finally - dynamic content. What about javascript counters 4ex. filesonic.com,duckload.com etc. How can i actually click buttons after 30 seconds? How can i close ad banners via "X" button on the frame? Right now my code downloads webpage as it is in "this" moment.
Bookmarks