[Vine] Remove invalid formats (#614)

Authored by: u-spec-png
This commit is contained in:
SsSsS 2021-08-02 18:07:59 +00:00 committed by GitHub
parent e980017ac8
commit 8e6cc12c80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,6 +88,7 @@ def video_url(kind):
'format_id': format_id or 'standard', 'format_id': format_id or 'standard',
'quality': quality, 'quality': quality,
}) })
self._check_formats(formats, video_id)
self._sort_formats(formats) self._sort_formats(formats)
username = data.get('username') username = data.get('username')