aussieaddons/issue-reports

[nine] HTTPError: 403 Client Error: Forbidden for url: https://edge.api.brightcove.com/playback/v1/accounts/4460760524001/videos/ref:live-ch9-bne-ssai

Opened this issue · 0 comments

Automatic bug report from end-user.

Environment

Add-on Name: 9Now
Add-on ID: plugin.video.catchuptv.au.nine
Add-on Version: 1.1.2_matrix
Add-on URL: ?action=listchannels&desc=Olympic+Games+Paris+2024+-+Late+Night&episode_name=Olympic+Games+Paris+2024+-+Late+Night&fanart=https%3A%2F%2Fimageresizer.static9.net.au%2FHtBnd8GsZ-0m6XU8owz7-XYATt4%3D%2F1280x0%2Fvms-tv-images-prod.s3-ap-southeast-2.amazonaws.com%252F2015%252F11%252F11%252F9_Colour_RGB.png&id=live-ch9-bne-ssai&thumb=https%3A%2F%2Fimageresizer.static9.net.au%2FWsmAndUbdR0_7_pJEmKGI_Gqu_c%3D%2F480x0%2Fvms-tv-images-prod.s3-ap-southeast-2.amazonaws.com%252F2015%252F11%252F11%252F9_Colour_RGB.png&title=Channel+9&addon_version=1.1.2_matrix
Kodi Version: 19.4
Python Version: 3.8.5 (default, Mar 3 2022, 10:11:20) [Clang 8.0.7 (https://android.googlesource.com/toolchain/clang b55f2d4ebfd35bf6
IP Address: 185.218.127.193
Hostname: N/A
Country: AU
ISP: AS136787 TEFINCOM S.A.
Operating System: linux (Linux 4.19.161 armv8l)
Platform: Android
Python Path:

/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.catchuptv.au.nine
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.aussieaddonscommon/lib
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.beautifulsoup4/lib
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.certifi/lib
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.chardet/lib
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.drmhelper/lib
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.future/lib
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.idna/lib
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.pycaption/lib
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.six/lib
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.soupsieve/lib
/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.urllib3/lib
/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/site-packages/setuptools-18.4-py3.8.egg
/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python38.zip
/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8
/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/site-packages
/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/lib-dynload

Traceback

Traceback (most recent call last):
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.catchuptv.au.nine/resources/lib/play.py", line 55, in play_video
    stream_data = comm.get_stream(json_url, live=live)
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.catchuptv.au.nine/resources/lib/comm.py", line 243, in get_stream
    data = fetch_bc_url(url, headers={'BCOV-POLICY': config.BRIGHTCOVE_KEY})
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.catchuptv.au.nine/resources/lib/comm.py", line 32, in fetch_bc_url
    raise e
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.catchuptv.au.nine/resources/lib/comm.py", line 20, in fetch_bc_url
    data = cache.getData(url=url, headers=headers, noCache=True)
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.catchuptv.au.nine/resources/lib/classes.py", line 137, in getData
    data = CacheObj.fetch_url(url=url, headers=headers)
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.catchuptv.au.nine/resources/lib/classes.py", line 186, in fetch_url
    res = sess.get(url, headers=headers)
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 602, in get
    return self.request("GET", url, **kwargs)
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.aussieaddonscommon/lib/aussieaddonscommon/session.py", line 58, in request
    raise e
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.aussieaddonscommon/lib/aussieaddonscommon/session.py", line 52, in request
    req.raise_for_status()
  File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://edge.api.brightcove.com/playback/v1/accounts/4460760524001/videos/ref:live-ch9-bne-ssai

Full log