```python
- Dominant language
- No language data
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```python
Loading video...
Traceback (most recent call last):
File "/usr/local/bin/pytube", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/pytube/cli.py", line 53, in main
_perform_args_on_youtube(youtube, args)
File "/usr/local/lib/python3.9/dist-packages/pytube/cli.py", line 60, in _perform_args_on_youtube
download_highest_resolution_progressive(
File "/usr/local/lib/python3.9/dist-packages/pytube/cli.py", line 474, in download_highest_resolution_progressive
stream = youtube.streams.get_highest_resolution()
File "/usr/local/lib/python3.9/dist-packages/pytube/__main__.py", line 296, in streams
return StreamQuery(self.fmt_streams)
File "/usr/local/lib/python3.9/dist-packages/pytube/__main__.py", line 176, in fmt_streams
stream_manifest = extract.apply_descrambler(self.streaming_data)
File "/usr/local/lib/python3.9/dist-packages/pytube/__main__.py", line 161, in streaming_data
return self.vid_info['streamingData']
KeyError: 'streamingData'
```
anyone can help for this issue?
_Originally posted by @iCodexDev in https://github.com/pytube/pytube/issues/1977#issuecomment-2235577027_
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the reported pytube CLI failure and start with pytube/cli.py, pytube/__main__.py, and the streaming_data path shown in the traceback. Determine why streamingData is unavailable, then verify the CLI no longer raises this KeyError with a focused regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100