Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #10136
| From | Jeremy J Starcher <r3jjs@yahoo.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Problem in Web scraping |
| Date | 2012-01-11 17:13 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <jekg0e$e6p$1@dont-email.me> (permalink) |
| References | <b66be068-0c0f-41a3-a4df-579ccc4e819d@24g2000prd.googlegroups.com> <292822b7-aea0-4ff1-a62e-809da3225d04@i6g2000vbe.googlegroups.com> |
On Thu, 22 Dec 2011 06:07:30 -0800, Scott Sauyet wrote: > karthiga wrote: >> Is it possible to fetch dynamic content from two websites at the same >> page. > In the browser this is generally not possible [1], unless the sites > cooperate by, for example, providing a JSONP API [2] or by supporting > CORS [3]. But it's very easy to write a server-side proxy that loads > the external sites as though they were local. If this is for your own personal use (and not something you want to share/ distribute) then a UserScript[1] isn't limited by the same domain origin limitation. [1] I have a lot of experience doing similar things in IE and Firefox, both using a plugin to get Userscript abilities. Some other browsers (like Chrome) have some UserScript abilities built in, but YMMV.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
Problem in Web scraping karthiga <cutekarthi2989@gmail.com> - 2011-12-21 21:24 -0800
Re: Problem in Web scraping Bart Van der Donck <bart@nijlen.com> - 2011-12-22 02:42 -0800
Re: Problem in Web scraping Scott Sauyet <scott.sauyet@gmail.com> - 2011-12-22 06:07 -0800
Re: Problem in Web scraping Jeremy J Starcher <r3jjs@yahoo.com> - 2012-01-11 17:13 +0000
csiph-web