Re: How to use iView (ABC Australia) downloadersQuote:
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 :) ) |
Re: How to use iView (ABC Australia) downloadersQuote:
Working now, mate :cool: |
Re: How to use iView (ABC Australia) downloadersAn 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. |
Re: How to use iView (ABC Australia) downloaders1.2.7 fixed it for me too :cool:
|
Re: How to use iView (ABC Australia) downloadersFri 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. |
Re: How to use iView (ABC Australia) downloadersA 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 |
Re: How to use iView (ABC Australia) downloadersQuote:
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:
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). |
Re: How to use iView (ABC Australia) downloadersQuote:
edit: Yep, and now it's back to compressed. Let it go for a couple of days before committing anything ;) |
Re: How to use iView (ABC Australia) downloadersQuote:
|
Re: How to use iView (ABC Australia) downloadersQuote:
edit: I'll knock up a cheap unzipper later if they keep it ;) |
All times are GMT -6. The time now is 01:05 PM. |