Get Video
It fetches the information of video passed in video_url
.
Here is the code:-
- youtube.get_video(video_url='https://www.youtube.com/watch?v=UF8uR6Z6KLc')
- Parameters
video_url (str) – Video url whose information need to be fetched
- Returns
{‘Title’: ‘Title’, ‘Publish_Date’: ‘Publish_Date’, ‘Subscribers’: ‘Subscribers’, ‘Desc’: ‘Desc’, ‘Views’: ‘Views’, ‘DisLikes’: ‘DisLikes’, ‘Comments’: ‘Comments’, ‘ChannelLink’: ‘ChannelLink’, ‘Duration’: ‘Duration’, ‘Likes’: ‘Likes’, ‘ChannelName’: ‘ChannelName’}
- Return type
dict