Some SBS download attempts get 403s

Issue #7 duplicate
Paul created an issue

Some SBS shows download perfectly fine, some (at least this one) does not. I can access http://www.sbs.com.au/ondemand/video/229730371836/Fargo-The-Crocodiles-Dilemma via browser but grabber attempt results in:

#!

Downloading: Fargo S1 Ep1 - The Crocodiles Dilemma.f4m
Traceback (most recent call last):
  File "./grabber.py", line 56, in <module>
    main()
  File "./grabber.py", line 49, in main
    if not n.download():
  File "/usr/home/paulv/webdl/sbs.py", line 55, in download
    return download_urllib(filename, video_url, referrer=SWF_URL)
  File "/usr/home/paulv/webdl/common.py", line 228, in download_urllib
    src = _urlopen(url, referrer)
  File "/usr/home/paulv/webdl/common.py", line 83, in _urlopen
    return urlopener.open(req)
  File "/usr/local/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/local/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/local/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden

I can add debugging options to the scripts if it would help to narrow this down.

Appreciate your time.

Comments (3)

  1. Log in to comment