Skip to content

KeyError:'throw' #460

Open
Open
@LucasGuedes2

Description

@LucasGuedes2

🛑 DO NOT REMOVE OR SKIP THIS ISSUE TEMPLATE 🛑

Issues with incomplete or missing information will be closed automatically.


🐞 Bug Description

Cant download audio only, it keeps telling me KeyError: 'throw'.


🔢 Code Snippet

Include the minimal code snippet that reproduces the issue.

from pytubefix import YouTube
url = "https://www.youtube.com/watch?v=slN9nktDOAw&list=PLArAJlC1y559ltd_J6FEPVa1i48M9cnhc&index=5"
yt = YouTube(url, use_po_token=True)
ys = yt.streams.get_audio_only()
ys.download()

🎯 Expected Behavior

It was supposed to download the audio.


Image


🖥️ Environment Details

Fill in the details below about your setup:

  • **Operating System: Windows 11
  • **Python Version: 3.13.1
  • **Pytubefix Version: 8.2.0

📋 Additional Context

Already tried with anothers clients, but i have the same issue


🚀 Next Steps

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    waiting

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions