Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

How to use iView (ABC Australia) downloaders

(http://stream-recorder.com/forum/showthread.php?t=7039)

gxdata 02-15-2011 01:41 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by trojan (Post 25337)
I have iViewFox 1.2.2 in FF3.6.13 on W7_64 and the latest update appears to have stopped it working?
The save dialog appears but the cmd window does not and no net traffic follows?

The downloaders are working for me right now (and have been over the past 4-6 hours). In fact, it has been a trouble-free period for the last 7 to 10 days.

Try the batch downloader (light-weight, easy to get going) - or iView Napper.

Also it is worth going to the iView site to try a couple of (small) kids shows, to see what the connection is like from your place.

trojan 02-15-2011 04:23 AM

Re: How to use iView (ABC Australia) downloaders


 
iview plays fine
iview napper works
on internode ;)
Cheers

phude 02-18-2011 05:25 AM

Re: How to use iView (ABC Australia) downloaders


 
Hey guys I recently discovered iViewFox reading around the forums here.

I've got it installed on a rev A MBP, and ran the terminal command as prompted before my initial use. However, when I attempt to download any programs I get the following error. Any help would be greatly appreciated.

Last login: Tue Feb 8 20:28:03 on ttys000
/Users/Ben/Library/Application\ Support/Firefox/Profiles/5gftu0ms.default/extensions/iViewFox@forboden.com/rtmpdump/b.command ; exit;
a:~ Ben$ /Users/Ben/Library/Application\ Support/Firefox/Profiles/5gftu0ms.default/extensions/iViewFox@forboden.com/rtmpdump/b.command ; exit;/Users/Ben/Library/Application Support/Firefox/Profiles/5gftu0ms.default/extensions/iViewFox@forboden.com/rtmpdump/b.command: line 2: /Users/Ben/Library/Application Support/Firefox/Profiles/5gftu0ms.default/extensions/iViewFox@forboden.com/rtmpdump/rtmpdump: Bad CPU type in executable
logout

[Process completed]

Yansky 02-18-2011 05:55 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by phude (Post 25420)
Hey guys I recently discovered iViewFox reading around the forums here.

I've got it installed on a rev A MBP, and ran the terminal command as prompted before my initial use. However, when I attempt to download any programs I get the following error. Any help would be greatly appreciated.

Last login: Tue Feb 8 20:28:03 on ttys000
/Users/Ben/Library/Application\ Support/Firefox/Profiles/5gftu0ms.default/extensions/iViewFox@forboden.com/rtmpdump/b.command ; exit;
a:~ Ben$ /Users/Ben/Library/Application\ Support/Firefox/Profiles/5gftu0ms.default/extensions/iViewFox@forboden.com/rtmpdump/b.command ; exit;/Users/Ben/Library/Application Support/Firefox/Profiles/5gftu0ms.default/extensions/iViewFox@forboden.com/rtmpdump/b.command: line 2: /Users/Ben/Library/Application Support/Firefox/Profiles/5gftu0ms.default/extensions/iViewFox@forboden.com/rtmpdump/rtmpdump: Bad CPU type in executable
logout

[Process completed]

What processor type do you have?

phude 02-19-2011 05:57 PM

Re: How to use iView (ABC Australia) downloaders


 
hi Yansky

Mac osx 10.4.11

(admission - the post i actually posted was a copy of someone elses post (in another forum) who has essentially the same problem as me - well at least we both got the same error message in the Terminal window that ended with "Bad CPU type in executable logout")

I cannot actually replicate that error message now but it is still not working. this is what is happening now

Open iview and it loads. Click on program to watch/download, select episode and click on 'continue'. Program goes to load but then diverts to prompt to save (so far so good?).

So then it gives Save as "Laid series 1 Episode 2.mp4" so i click save. I go to the folder where i saved it and the file is called "Laid series 1 Episode 2.srt". When i open this file VLC starts up but can't get nothing to play.

and now i'm stumped............... any help would be good thanks

Yansky 02-19-2011 06:07 PM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by phude (Post 25470)
hi Yansky

Mac osx 10.4.11

(admission - the post i actually posted was a copy of someone elses post (in another forum) who has essentially the same problem as me - well at least we both got the same error message in the Terminal window that ended with "Bad CPU type in executable logout")

I cannot actually replicate that error message now but it is still not working. this is what is happening now

Open iview and it loads. Click on program to watch/download, select episode and click on 'continue'. Program goes to load but then diverts to prompt to save (so far so good?).

So then it gives Save as "Laid series 1 Episode 2.mp4" so i click save. I go to the folder where i saved it and the file is called "Laid series 1 Episode 2.srt". When i open this file VLC starts up but can't get nothing to play.

and now i'm stumped............... any help would be good thanks

Do you have the latest version installed (1.2.2)?
https://addons.mozilla.org/af/firefo...wfox/versions/

Try running Firefox in private browsing mode, that seemed to fix it for this user: https://addons.mozilla.org/af/firefo...#review-255265

If that doesn't work, could you try this for me so I can narrow down where the error is:
Could you install a portable version of firefox, then install iviewfox into the portable version and see if it works for you?

http://portableapps.com/apps/internet/firefox_portable

( The portable version wont mess up your installed version of Firefox.)

phude 02-20-2011 03:13 AM

Re: How to use iView (ABC Australia) downloaders


 
yep - using 1.2.2

tried private browsing mode but no dice

seems that the portable version of firefox wont work on Mac OSX

update - cannot even get it to save a .srt file now so gonna uninstall it and try re-installing

ps version 1.2.2 isn't on here "https://addons.mozilla.org/af/firefox/addon/iviewfox/"

but must have found it the other night so will keep looking.

also in trying to get it to work the other night somehting about it having to run from a specific port but cannot find that info now and also not sure how to find out what port it is working through (if that makes sense)

thanks
Quote:

Originally Posted by Yansky (Post 25471)
Do you have the latest version installed (1.2.2)?
https://addons.mozilla.org/af/firefo...wfox/versions/

Try running Firefox in private browsing mode, that seemed to fix it for this user: https://addons.mozilla.org/af/firefo...#review-255265

If that doesn't work, could you try this for me so I can narrow down where the error is:
Could you install a portable version of firefox, then install iviewfox into the portable version and see if it works for you?

http://portableapps.com/apps/internet/firefox_portable

( The portable version wont mess up your installed version of Firefox.)


phude 02-20-2011 03:31 AM

Re: How to use iView (ABC Australia) downloaders


 
got this message after installing 1.2.0

chmod a+x /Users/phillipmaher/Library/Application\ Support/Firefox/Profiles/idqpuzun.default/extensions/iViewFox@forboden.com/rtmpdump/*

Launched terminal and got this...........

Last login: Sun Feb 20 18:20:41 on console
Welcome to Darwin!
phillip-mahers-computer:~ phillipmaher$

cut and pasted the above after the $ sign

closed terminal

Found Version 1.2.2 here https://addons.mozilla.org/en-US/fir...wfox/versions/

says works with Firefox 3.6 - 4.0 and checked that my Firefox was up to date - i'm running 3.6.13

installed 1.2.2

loaded ABC iview and choose Laid - clicked on watch and Save To... screen came up and.........nothing........no file saved

i wonder what i've done?

johnm 02-20-2011 05:39 PM

Re: How to use iView (ABC Australia) downloaders


 
1 Attachment(s)
Yesterday my iViewNapperLite (20101218) stopped working. It will not load. Keeps coming up with a script error. Installing the iView NapperLite files again did not change the fault. The script error is attached. Many thanks
John

mce 02-21-2011 05:25 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by johnm (Post 25499)
Yesterday my iViewNapperLite (20101218) stopped working. It will not load. Keeps coming up with a script error. Installing the iView NapperLite files again did not change the fault. The script error is attached. Many thanks
John

Looks like the JSON files were not available at the time you were trying to get the "index". Seems OK now.

johnm 02-22-2011 04:26 AM

Re: How to use iView (ABC Australia) downloaders


 
Nope, still doing it. Guess it is at my end then. Any suggestions?
Like I said, I have reloaded Lite with exactly the same result. Can not think of what might have changed to cause this. What can affect these JSON files?
Thanks

Yansky 02-22-2011 04:40 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by phude (Post 25480)
also in trying to get it to work the other night somehting about it having to run from a specific port but cannot find that info now and also not sure how to find out what port it is working through (if that makes sense)

thanks

The rtmpdump program uses port 1935 if memory serves correctly. Sometimes peoples routers have firewalls that block the port.

You might also try the command line script: http://iviewdownloaders.wikia.com/wi...aders_Wiki#Mac

yeah_sir 02-22-2011 10:23 AM

Re: How to use iView (ABC Australia) downloaders


 
Hi Everybody

i download iviewnapper/iviewnapperlite but it doesn't work. When i chose a program and start fitch, the rtmpdump channel appears and say
NFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close
So i have this problem .by the way i'm not in autralia (it's this the problem?) or there is something wrong
i'm open to other methods but of course if it start download .

thanks

Anywho 02-22-2011 01:06 PM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by yeah_sir (Post 25556)
by the way i'm not in autralia (it's this the problem?)

Yes, that's the problem. ABC Australia uses region blocking just like some other streaming video suppliers.
Quote:

i'm open to other methods but of course if it start download .
You can try using an Australian-based VPN or Australian-based Proxy server. Australian proxy servers are often quite slow. Australian VPN's are OK, but not great.

yeah_sir 02-22-2011 01:25 PM

Re: How to use iView (ABC Australia) downloaders


 
thank you anywho for your answer but why i can play sbs napper witout be connected to vpn in australia. And how to use a proxy with iviewnapper.

Anywho 02-22-2011 08:40 PM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by yeah_sir (Post 25569)
but why i can play sbs napper witout be connected to vpn in australia.

Simply, SBS allow it. SBS is not ABC - it's as simple as that. Just the same as Australians cannot normally get some US or [insert other country here] services. For example, Hulu needs region bypassing in order to view its services in Australia.

Quote:

And how to use a proxy with iviewnapper.
Google it.

Yansky 03-02-2011 07:21 PM

Re: How to use iView (ABC Australia) downloaders


 
New version of iViewFox: https://addons.mozilla.org/en-US/fir...wfox/versions/

Lots of changes. I believe I have finally fixed the issues some people were having under Windows. Also, users on OSX no longer have to run code from the Terminal to get the extension to work! woohoo!:D

Props goes out to the Firebug peeps after I stumbled onto their code: http://code.google.com/p/fbug/source...ug/lib.js#4946

Anywho 03-03-2011 07:19 PM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by Yansky (Post 25740)
New version of iViewFox: https://addons.mozilla.org/en-US/fir...wfox/versions/

Lots of changes. I believe I have finally fixed the issues some people were having under Windows.

Darn it... Still busted for me.

v1.2.0 was the last one that works for me. This one (and v1.2.2) gets to the "Save To..." dialog, you click "OK" and then the dialog closes. RTMPdump doesn't start (and testing shows it never gets executed). :eek:

Sorry :(

Yansky 03-03-2011 09:22 PM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by Anywho (Post 25759)
Darn it... Still busted for me.

v1.2.0 was the last one that works for me. This one (and v1.2.2) gets to the "Save To..." dialog, you click "OK" and then the dialog closes. RTMPdump doesn't start (and testing shows it never gets executed). :eek:

Sorry :(

Bummer. :confused:

I'm stumped as to why it's not working for some people. The only thing different I guess is that I'm testing under Windows inside a VirtualBox on OSX. But I don't think that would make a difference.

If you can be bothered, could you try a little experiment for me? Open the iv.jsm file in the iviewfox extensions folder in the Firefox profiile directory and change this code around line 343:
Code:

let fileCC = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsILocalFile);       
fileCC.initWithPath(iViewFox.getrtDump);
process.init(fileCC);
process.run(false, args, args.length);

to
Code:

let fileCC = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsILocalFile);       
fileCC.initWithPath("C:\\WINDOWS\\NOTEPAD.EXE");        //assuming that's where it is on your system
process.init(fileCC);
process.run(false, [], 0);

Save the file then restart Firefox. That should then open notepad on windows when you try to watch a show on iView.

mce 03-04-2011 02:27 AM

Re: How to use iView (ABC Australia) downloaders


 
I tried the above before and after the little coding mod.

Before:

Got the Save As... box, hit enter but no rtmpdump window.

After:

Got the Save As... box, but notepad didn't appear either.

I ran the firefox Error Console and and got the following error after pressing the Enter key for Save As...

Code:

Error: fwindowTypeSplit is not defined
Source File: file:///C:/Users/mypc/AppData/Roaming/Mozilla/Firefox/Profiles/o1446y93.mypc/extensions/iViewFox@forboden.com/modules/iv.jsm
Line: 267

Question.

With debug turned on, does it go to a file or just the Error Console?

Yansky 03-04-2011 03:07 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by mce (Post 25762)
I tried the above before and after the little coding mod.

Before:

Got the Save As... box, hit enter but no rtmpdump window.

After:

Got the Save As... box, but notepad didn't appear either.

I ran the firefox Error Console and and got the following error after pressing the Enter key for Save As...

Code:

Error: fwindowTypeSplit is not defined
Source File: file:///C:/Users/mypc/AppData/Roaming/Mozilla/Firefox/Profiles/o1446y93.mypc/extensions/iViewFox@forboden.com/modules/iv.jsm
Line: 267

Question.

With debug turned on, does it go to a file or just the Error Console?

Thanks that helps a lot. fwindowTypeSplit should actually be fTypeSplit.

I wasn't encountering that error because that code is only run when you're downloading from hostworks (which I don't, I'm on edgefcs.net)

The debug mode actually just adds the "-z" parameter to rtmpdump, so it doesn't really help with the javascript code.

I've been realising lately that I really need to change the way I code. I need to put more try/catch/throw's in my code to make it easier to debug.

ok, lets try this again, 1.2.7 is the latest: https://addons.mozilla.org/en-US/fir...wfox/versions/

(thanks mce :) )

Anywho 03-04-2011 05:20 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by Yansky (Post 25765)
ok, lets try this again, 1.2.7 is the latest: https://addons.mozilla.org/en-US/fir...wfox/versions/

Yay! Itsa Mario :D

Working now, mate :cool:

gxdata 03-09-2011 01:37 AM

Re: How to use iView (ABC Australia) downloaders


 
An rtmpdump question: when it's capturing the stream, I see output that indicates the total duration expected (metadata stored in the show being streamed).
Can I capture that piece of data (eg, it is 301.08 for Peppa Pig S2E9)?

Reason: it would be nice to have real size and duration - quite a number are hugely inaccurate as stored in the iView index/catalog/json files.

trojan 03-10-2011 08:24 AM

Re: How to use iView (ABC Australia) downloaders


 
1.2.7 fixed it for me too :cool:

gxdata 03-11-2011 12:22 AM

Re: How to use iView (ABC Australia) downloaders


 
Fri 11March2011 @ 6:20PM (Sydney time):
The iView page works fine, but iViewNapper / Batch Downloader cannot get the catalog/index file.

I guess I need to sniff the iView page http://www.abc.net.au/iview/#/recent

The catalog file (20Kb only) seems to be binary - possibly GZIP compressed?
[EDIT]
The file is not opened using standard compresion utilities, but I recall an article by Rick Strahl from a while back which shows what to do on the client side (most browsers will deflate web pages with GZIP encoding without problem, he says).

http://www.west-wind.com/Weblog/posts/102969.aspx

This online tool proves the stituation:

http://www.gidnetwork.com/tools/gzip-test.php

If the iView catalog/index URL (http://tviview.abc.net.au/iview/api2/?seriesIndex) is pasted into it, it is unpacked to JSON code.

That is the problem.

any ANONYMOUS forum user 03-11-2011 01:52 AM

Re: How to use iView (ABC Australia) downloaders


 
A quick n Dirty test looks like that is the case, it is Gzip compressed.

using gzip from GnuWin32 allows decompression back to text.

find the line:
bin\wget %WGET_OPT% -O "cache\index.json" "http://tviview.abc.net.au/iview/api2/?seri.......
chg to bin\wget %WGET_OPT% -O "cache\index.gz" "http://tviview.abc.net.au/iview/api2/?seri
and add the lines:
gzip.exe -d "cache\index.gz"
ren cache\index index.json

gxdata 03-11-2011 02:29 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by any ANONYMOUS forum user (Post 26030)
A quick n Dirty test looks like that is the case, it is Gzip compressed.

using gzip from GnuWin32 allows decompression back to text.

find the line:
bin\wget %WGET_OPT% -O "cache\index.json" "http://tviview.abc.net.au/iview/api2/?seri.......
chg to bin\wget %WGET_OPT% -O "cache\index.gz" "http://tviview.abc.net.au/iview/api2/?seri
and add the lines:
gzip.exe -d "cache\index.gz"
ren cache\index index.json

That works up to a point - I'm not sure what my problem is.

The Index is converted to text (index.json) and I can read the Episode .json files (in the cache folder) too - but the batch file fails.

Quote:

Downloading "Yo Gabba Gabba Episode 20 Imagine" ...
and saving the stream with the filename "Yo Gabba Gabba Episode 20 Imagine.mp4"

Downloading from Hostworks server...

Retrieving Token...
RTMPDump v2.2d (r474)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
mp4:kids/yogabba_10_01_20 path not found. Retrying a different path...

Retrieving Token...
Resuming previous download for "Yo Gabba Gabba Episode 20 Imagine"...
RTMPDump v2.2d (r474)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
kids/yogabba_10_01_20 path not found. Retrying a different path...

Retrieving Token...
Resuming previous download for "Yo Gabba Gabba Episode 20 Imagine"...
RTMPDump v2.2d (r474)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
kids/yogabba_10_01_20.mp4 path not found. Retrying a different path...


The show "Yo Gabba Gabba Episode 20 Imagine" was not found on the server.
(I will try to get the GUI version working later; my saved catalog.json from that is not liked by gzip.exe)

OK - fixed.

With the batch file, gzip.exe needs to be in \bin\ - funny that having it in my working folder (where the .bat file is) did actually create text .json files for index and series (mistake earlier - not episode .json files of course).

Anywho 03-11-2011 02:38 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by gxdata (Post 26031)
That works up to a point - I'm not sure what my problem is.

Seems like it's back to plain text at the moment... They're probably playing around with it again :rolleyes:

edit: Yep, and now it's back to compressed. Let it go for a couple of days before committing anything ;)

gxdata 03-11-2011 02:43 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by Anywho (Post 26032)
Seems like it's back to plain text at the moment... They're probably playing around with it again :rolleyes:

edit: Yep, and now it's back to compressed. Let it go for a couple of days before committing anything ;)

Are you sure?

Anywho 03-11-2011 02:47 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by gxdata (Post 26033)
Are you sure?

LOL! Yes! They're flipping between text and compressed... Probably watching this tread (hi guys!) :D

edit: I'll knock up a cheap unzipper later if they keep it ;)

gxdata 03-11-2011 02:55 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by Anywho (Post 26034)
LOL! Yes! They're flipping between text and compressed... Probably watching this tread (hi guys!) :D

Yes, the catalog (index) is in text, but the series json file just now failed (on the GUI). I guess it's not too hard to try both uncompressed and compressed, but a PITA.

gxdata 03-11-2011 02:59 AM

Re: How to use iView (ABC Australia) downloaders


 
Weird - Mr Moon titles have changed since a few days ago, and its latest show is downloading (I just luv the kids shows).

But ['The Midday Report 11-03-11'] doesn't work for me. [EDIT - OK now]

Seems they are doing a wholesale edit of show titles, at least for the kids / ABC3 stuff.

[EDIT - I think a lot is going on - the Midday Report glitch was probably a normal "show-missing, back in 5 minutes" situation]

Anywho 03-11-2011 03:09 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by gxdata (Post 26035)
Yes, the catalog (index) is in text, but the series json file just now failed (on the GUI). I guess it's not too hard to try both uncompressed and compressed, but a PITA.

I've just compiled a standalone gzipper that seems to work. It's the one from the ZLIB library (minigzip-static.exe if anyone wants to have a go at it). It compiles to about 61KB... I'm just "trimming the fat" off it at the moment - we don't need compression.

gxdata 03-11-2011 03:20 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by Anywho (Post 26038)
I've just compiled a standalone gzipper that seems to work. It's the one from the ZLIB library (minigzip-static.exe if anyone wants to have a go at it). It compiles to about 61KB... I'm just "trimming the fat" off it at the moment - we don't need compression.

It should be possible (with .NET, otherwise) to work on the stream rather than save to disk, but I'm puzzled that my save of the stream is not convertible with gzip.exe, whereas if I point the online test tool (see post above) to the URL, it gets & unravels the json from [{ to }].

mce ?

gxdata 03-11-2011 03:24 AM

Re: How to use iView (ABC Australia) downloaders


 
There's a lot of house-keeping going on at iView - Lateline from 1 and 2 March have just appeared. And the RSS feeds were screwed up earlier in the day, fixed in the last 30-60 minutes. :D

And Anywho is right - they are switching the gzip of the catalog / index on & off - I wonder how the iView Player is managing? It's an interesting little problem to code around, from our end!

Anywho 03-11-2011 04:12 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by gxdata (Post 26040)
And Anywho is right - they are switching the gzip of the catalog / index on & off - I wonder how the iView Player is managing? It's an interesting little problem to code around, from our end!

Nah... Just look for the opening "[{" in the first two (non-space) characters for the json text file.

(If anyone wants the ungzip (Windows) executable, you can grab it from here ;))

mce 03-11-2011 03:22 PM

Re: How to use iView (ABC Australia) downloaders


 
Just saw this thread.

Yep iVN fails at get catalog but iVNL seems to work 100% OK (at the moment).

gxdata 03-11-2011 09:33 PM

Re: How to use iView (ABC Australia) downloaders


 
Sitting here coding, suddenly the catalog is back to text-based JSON!
12/03/2011_15:30 AEDT (UTC-11:00)

Yansky 03-11-2011 11:05 PM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by gxdata (Post 26071)
Sitting here coding, suddenly the catalog is back to text-based JSON!
12/03/2011_15:30 AEDT (UTC-11:00)

Are you able to set the request headers for you http request?

I think setting the accepted-encoding header "Accept-Encoding: gzip;q=0" will tell a server not to serve up the page using gzip.

http://www.w3.org/Protocols/rfc2616/...4.html#sec14.3

gxdata 03-11-2011 11:28 PM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by Yansky (Post 26074)
Are you able to set the request headers for you http request?

I think setting the accepted-encoding header "Accept-Encoding: gzip;q=0" will tell a server not to serve up the page using gzip.

http://www.w3.org/Protocols/rfc2616/...4.html#sec14.3

The blog post from Rick Strahl indicates the same, I think. But I am using WebClient() in .NET and don't see similar switches. The stream that I read is UTF-8 encoded, and gzip.exe / ungzip.exe doesn't recognize its format. I'm having a mental block atm.

err - the .Downloadfile method of the WebClient class is probably what I need. Yep - all go now.


They seem to be switching from GZ to text mode quite often, so the test for the "[{" characters will be needed at each new catalog fetch. I'm not sure what they are doing with the Series JSON files.


All times are GMT -6. The time now is 06:41 PM.