View Single Post
  #637  
Old 06-03-2011, 04:06 AM
Yansky Yansky is offline
Member
 
Join Date: May 2010
Posts: 92
Yansky is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by gxdata View Post
A coding question:

The CC (.SRT) file for Peep Show S7/5 is defective. It has an unclosed literal string about 4 lines into the XML file.

It's located at

http://www.abc.net.au/iview/captions...w_11_07_05.xml

For future reference, how can I directly download the XML file which is at a known URL - even if it has an error?

What I had been using (in .NET) was to read into a streamreader with HttpWebResponse.GetResponseStream
or
to use a small commandline downloader that uses http protocol and a Get.

Both of these methods error at the same location.
Maybe you could use cURL to download it: http://curl.haxx.se
Reply With Quote