
https://github.com/vadmium/python-iview The python-iview code from the above repository gets a HTTP 404 error and aborts the download. About 4 days ago the older version of python-iview I had been using developed the same problem, so it seems that the ABC changed something which breaks it. Does anyone know of a good repository for python-iview that works today? -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/

On Fri, 17 Apr 2015 15:20:29 +1000 Russell Coker <russell@coker.com.au> wrote:
Does anyone know of a good repository for python-iview that works today?
Interestingly it appears some media is downloaded successfully, while others are not. e.g, Broadchurch worked fine, but ABC News encountered a 404.

On 17/04/15 15:37, Danny Robson wrote:
On Fri, 17 Apr 2015 15:20:29 +1000 Russell Coker <russell@coker.com.au> wrote:
Does anyone know of a good repository for python-iview that works today?
It seems to be the in-house News Dept. stuff: 7:30 report Clarke & Dawe News 24 I just did a pull and picked up changes since my previous productive pull on 3/3; I think they are quite recent.

On 2015-04-17 16:45, Allan Duncan wrote:
On 17/04/15 15:37, Danny Robson wrote:
On Fri, 17 Apr 2015 15:20:29 +1000 Russell Coker <russell@coker.com.au> wrote:
Does anyone know of a good repository for python-iview that works today?
It seems to be the in-house News Dept. stuff: 7:30 report Clarke & Dawe News 24
I just did a pull and picked up changes since my previous productive pull on 3/3; I think they are quite recent.
I have found that I can list available shows using the --category parameter ( eg. --category News ) instead of --programme . It doesn't always work but does most of the time and depends on what category you select. Downloading the actual video appears to be fine.

On 17/04/15 17:02, Geoff D'Arcy wrote:
On 2015-04-17 16:45, Allan Duncan wrote:
On 17/04/15 15:37, Danny Robson wrote:
On Fri, 17 Apr 2015 15:20:29 +1000 Russell Coker <russell@coker.com.au> wrote:
Does anyone know of a good repository for python-iview that works today?
It seems to be the in-house News Dept. stuff: 7:30 report Clarke & Dawe News 24
I just did a pull and picked up changes since my previous productive pull on 3/3; I think they are quite recent.
I have found that I can list available shows using the --category parameter ( eg. --category News ) instead of --programme . It doesn't always work but does most of the time and depends on what category you select.
Downloading the actual video appears to be fine.
I just did another pull and News now downloads, either due to code or web site changes. Haven't got the time at the moment to see what was altered, but the files that changed are: iview/comm.py iview/hds.py iview/parser.py

On Sat, 18 Apr 2015 03:26:21 AM Allan Duncan wrote:
I just did another pull and News now downloads, either due to code or web site changes. Haven't got the time at the moment to see what was altered, but the files that changed are: iview/comm.py iview/hds.py iview/parser.py
Where did you pull it from? -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/

On 18/04/15 14:27, Russell Coker wrote:
On Sat, 18 Apr 2015 03:26:21 AM Allan Duncan wrote:
I just did another pull and News now downloads, either due to code or web site changes. Haven't got the time at the moment to see what was altered, but the files that changed are: iview/comm.py iview/hds.py iview/parser.py
Where did you pull it from?

On Sun, 19 Apr 2015, Allan Duncan <amd2345@fastmail.com.au> wrote:
On 18/04/15 14:27, Russell Coker wrote:
On Sat, 18 Apr 2015 03:26:21 AM Allan Duncan wrote:
I just did another pull and News now downloads, either due to code or web site changes. Haven't got the time at the moment to see what was altered, but the
files that changed are: iview/comm.py iview/hds.py iview/parser.py
Where did you pull it from?
I just fetched that and tried to run it on Debian/Jessie with the following result. The last line indicates that the root cause is a HTTP 404 error which is the same problem I have been having with the old version. $ ./iview-cli -d news/ASTb_Tx_1304.mp4 Traceback (most recent call last): File "./iview-cli", line 303, in <module> main() File "./iview-cli", line 292, in main download(args.download, args.output) File "./iview-cli", line 100, in download iview.fetch.fetch_program(url, execvp=True, dest_file=output) File "/tmp/p/p/iview/fetch.py", line 177, in fetch_program quiet=quiet, frontend=frontend) File "/tmp/p/p/iview/fetch.py", line 243, in fetch **kw) File "/tmp/p/p/iview/fetch.py", line 284, in hds_open_file return hds.fetch(*pos, dest_file=dest_file, **kw) File "/tmp/p/p/iview/hds.py", line 46, in fetch manifest = get_manifest(url, session) File "/tmp/p/p/iview/hds.py", line 534, in get_manifest with http_get(session, url, ("video/f4m",)) as response: File "/tmp/p/p/iview/utils.py", line 224, in http_get response = session.open(req) File "/usr/lib/python3.4/urllib/request.py", line 469, in open response = meth(req, response) File "/usr/lib/python3.4/urllib/request.py", line 579, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python3.4/urllib/request.py", line 507, in error return self._call_chain(*args) File "/usr/lib/python3.4/urllib/request.py", line 441, in _call_chain result = func(*args) File "/usr/lib/python3.4/urllib/request.py", line 587, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/

On Sun, 19 Apr 2015, Russell Coker <russell@coker.com.au> wrote:
$ ./iview-cli -d news/ASTb_Tx_1304.mp4
It was just pointed out to me off-list that the format for names has changed. I ran "iview-cli -p" again to get the new file name and then the following command to successfully download it. ./iview-cli -d _video/news_ASTb_Tx_1304_rev2_650000.mp4 -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/

On 19/04/15 17:02, Russell Coker wrote:
On Sun, 19 Apr 2015, Russell Coker <russell@coker.com.au> wrote:
$ ./iview-cli -d news/ASTb_Tx_1304.mp4
It was just pointed out to me off-list that the format for names has changed. I ran "iview-cli -p" again to get the new file name and then the following command to successfully download it.
./iview-cli -d _video/news_ASTb_Tx_1304_rev2_650000.mp4
I normally use the gui, so the fetch of names is done afresh each time I use the program. It still needed the latest patches to deal with News etc.
participants (4)
-
Allan Duncan
-
Danny Robson
-
Geoff D'Arcy
-
Russell Coker