79284976

Date: 2024-12-16 14:26:20
Score: 7 🚩
Natty:
Report link

Traceback (most recent call last): File "c:\Users\user\Downloads\yt_video_with_code", line 6, in print(my_video.title) ^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\pytube_main_.py", line 346, in title raise exceptions.PytubeError( pytube.exceptions.PytubeError: Exception while accessing title of https://youtube.com/watch?v=aenJBdBBa38. Please file a bug report at https://github.com/pytube/pytube PS C:\Users\user\Downloads> This is the problem I encounter in visual studio,and these are my code to download video from youtube : from pytube import YouTube import ssl ssl._create_default_https_context = ssl._create_stdlib_context url='https://www.youtube.com/shorts/aenJBdBBa38' my_video=YouTube(url) print(my_video.title) my_video.streams.filter(res='720p').first().download() I would be appreciated if someone could help.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): youtube.com
  • RegEx Blacklisted phrase (3): someone could help
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Filler text (0.5): ^^^^^^^^^^^^^^
  • Low reputation (1):
Posted by: user28806703