Quote:
Originally Posted by any ANONYMOUS forum user
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).