SBS broken by recent website changes

Issue #20 resolved
Tinto Baggins created an issue

SBS now fails at init (30 May 2015 codebase):

C:\Apps\webdl>grabber.py
  1) ABC iView
  2) Nine
  3) SBS
  4) Ten
  0) Back
Choose> 3
Traceback (most recent call last):
  File "C:\Apps\webdl\grabber.py", line 61, in <module>
    main()
  File "C:\Apps\webdl\grabber.py", line 41, in main
    for n in node.get_children():
  File "C:\Apps\webdl\common.py", line 50, in get_children
    self.fill_children()
  File "C:\Apps\webdl\sbs.py", line 81, in fill_children
    menu = grab_json(VIDEO_MENU, 3600, skip_assignment=True)
  File "C:\Apps\webdl\common.py", line 153, in grab_json
    doc = json.loads(text)
  File "C:\Apps\Python27\lib\json\__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "C:\Apps\Python27\lib\json\decoder.py", line 369, in decode
    raise ValueError(errmsg("Extra data", s, end, len(s)))
ValueError: Extra data: line 1 column 31 - line 313 column 1 (char 30 - 37535)

Comments (7)

  1. Log in to comment