Skip to content

Cannot parse keys from audio adaptationset #8

Description

@lwerdna

Shows up as:

Traceback (most recent call last):
  File "/path/to/Downloads/web-dl/./web-dl.py", line 49, in <module>
    main()
  File "/path/to/Downloads/web-dl/./web-dl.py", line 35, in main
    video_keys, audio_keys = decryptor.extract_keys(args.url())
  File "/path/to/Downloads/web-dl/modules/decryptor.py", line 129, in extract_keys
    selected_adaptationset_audio_idx = adaptationsets_audio[0][0]
IndexError: list index out of range

since adaptationsets_audio is empty. The audio adaptationset element doesn't contain "lang" in my case, so the loop in decrypt.py passes over it and doesn't pick up the keys.

Here's the offending dash manifest: stream.mpd.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions