You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This based on the assumptions that previous issues #1#2#4 have been fixed( #5 )
The Error means that the mp4 video you are trying to download has multiple resolutions and you have to decide which one you would like to get.
Prior to this change:
- If a download request is made for a video and
the video has multiple types and resolutions then a MultipleObjects Exception is raised
This change uses pytube filter function to select a single video with the highest resolution for download
closes:
Github issue OpenGenus#6
lwgray
added a commit
to lwgray/vidsum
that referenced
this issue
Oct 1, 2017
Prior to this change:
- If a download request is made for a video and
the video has multiple types and resolutions then a MultipleObjects Exception is raised
This change uses pytube filter function to select a single video with the highest resolution for download
closes:
Github issue OpenGenus#6
This based on the assumptions that previous issues #1 #2 #4 have been fixed( #5 )
The Error means that the mp4 video you are trying to download has multiple resolutions and you have to decide which one you would like to get.
Command:
python sum.py -u https://www.youtube.com/watch?v=xRJCOz3AfYY
Error:
raise MultipleObjectsReturned('Multiple videos met this criteria.')
pytube.exceptions.MultipleObjectsReturned: Multiple videos met this criteria.
Solution:
filter videos by type(mp4) and highest available resolution
yt.filter('mp4')[-1]
Explanation
The text was updated successfully, but these errors were encountered: