Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with new YouTube updates #1

Open
badname47 opened this issue Jun 17, 2023 · 0 comments
Open

Problems with new YouTube updates #1

badname47 opened this issue Jun 17, 2023 · 0 comments

Comments

@badname47
Copy link

Exception while accessing title of https://youtube.com/watch?v=VNhbsdzrDtQ. Please file a bug report at https://github.com/pytube/pytube
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/pytube/main.py", line 341, in title
self._title = self.vid_info['videoDetails']['title']
KeyError: 'videoDetails'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/pyrogram/dispatcher.py", line 240, in handler_worker
await handler.callback(self.client, *args)
File "/home/video-defuser/plugins/message.py", line 25, in handle_youtube_link
title = youtube.title
File "/usr/local/lib/python3.7/dist-packages/pytube/main.py", line 348, in title
f'Exception while accessing title of {self.watch_url}. '
pytube.exceptions.PytubeError: Exception while accessing title of https://youtube.com/watch?v=VNhbsdzrDtQ. Please file a bug report at https://github.com/pytube/pytube

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant