Reply to Re: how to using code to download these java scripted page link ?

Your name:

Reply:


Posted by David Dorward on 10/18/06 20:17

key9 wrote:

> I am writting some download application using c++
> the main idea is using "socket" to get html page.
> and find the download link ,and using HTTP protocol to download it.

So you're writing an HTTP client and an HTML parser from scratch? Why?

> but how to deal with these page links which contain java scripts?

You either write a JavaScript interpreter from scratch or you use a
preexisting library (which you should probably be doing for the other parts
of your project).

> by invoking jvm? and how?

Java and JavaScript are different languages. You don't use a Java Virtual
Machine to interpret JavaScript.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация