Skip to content

plugins.streamable: TypeError: 'NoneType' object is not subscriptable #6434

@TheRickson

Description

@TheRickson

Checklist

Collaboration

Streamlink version

streamlink 7.1.2

Description

I'm trying to download a video from streamable.com but I'm getting this:

Debug log

Running streamlink with URL: https://streamable.com/f529oi
[session][debug] Loading plugin: streamable
[cli][debug] OS:         Windows 10
[cli][debug] Python:     3.12.8
[cli][debug] OpenSSL:    OpenSSL 3.0.15 3 Sep 2024
[cli][debug] Streamlink: 7.1.2
[cli][debug] Dependencies:
[cli][debug]  certifi: 2024.12.14
[cli][debug]  isodate: 0.7.2
[cli][debug]  lxml: 5.3.0
[cli][debug]  pycountry: 24.6.1
[cli][debug]  pycryptodome: 3.21.0
[cli][debug]  PySocks: 1.7.1
[cli][debug]  requests: 2.32.3
[cli][debug]  trio: 0.28.0
[cli][debug]  trio-websocket: 0.11.1
[cli][debug]  urllib3: 2.3.0
[cli][debug]  websocket-client: 1.8.0
[cli][debug] Arguments:
[cli][debug]  url=https://streamable.com/f529oi
[cli][debug]  stream=['best']
[cli][debug]  --loglevel=debug
[cli][debug]  --output=D:\Seggregation\Streams\123\{time:%d.%m}\321.ts
[cli][debug]  --force=True
[cli][debug]  --progress=force
[cli][debug]  --stream-segment-threads=5
[cli][debug]  --ffmpeg-ffmpeg=C:\Program Files\Streamlink\ffmpeg\ffmpeg.exe
[cli][info] Found matching plugin streamable for URL https://streamable.com/f529oi
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Program Files\Streamlink\bin\streamlink.exe\__main__.py", line 18, in <module>
  File "C:\Program Files\Streamlink\pkgs\streamlink_cli\main.py", line 976, in main
    exit_code = run(parser)
                ^^^^^^^^^^^
  File "C:\Program Files\Streamlink\pkgs\streamlink_cli\main.py", line 959, in run
    exit_code = handle_url_wrapper()
                ^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Streamlink\pkgs\streamlink_cli\main.py", line 552, in handle_url_wrapper
    handle_url()
  File "C:\Program Files\Streamlink\pkgs\streamlink_cli\main.py", line 599, in handle_url
    streams = fetch_streams(plugin)
              ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Streamlink\pkgs\streamlink_cli\main.py", line 472, in fetch_streams
    return plugin.streams(
           ^^^^^^^^^^^^^^^
  File "C:\Program Files\Streamlink\pkgs\streamlink\plugin\plugin.py", line 405, in streams
    ostreams = list(ostreams)
               ^^^^^^^^^^^^^^
  File "C:\Program Files\Streamlink\pkgs\streamlink\plugins\streamable.py", line 41, in _get_streams
    for info in data["files"].values():
                ~~~~^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin issueA Plugin does not work correctly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions