Carl said:
With python I can pull a web page using urllib2 and then
parse it using BeautifulSoup. Is there any similar
functionality in javascript that will allow me to do
the same thing?
Yes and no. There is nothing built into the language directly for that task.
Indeed there is nothing built into the language directly for any task except
URI encoding. You certainly could write an HTML tag soup parser with
javascript, though most would probably prefer not to (and it would be
unrealistic to expect the result to perform at all well).
On the other hand, most javascript is used in web browser environments, and
if there is one thing that web browsers are good at it is loading HTML given
URLs, parsing the result and building an HTML DOM with it.
Richard.