mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-23 20:18:25 +00:00
Fix flake8
This commit is contained in:
parent
dce0e96038
commit
d763512d2c
|
@ -376,8 +376,8 @@ class VPROIE(NPOIE):
|
|||
video_id = url.rstrip('/').split('/')[-1]
|
||||
page = self._download_webpage(url, video_id)
|
||||
formats = traverse_obj(re.search(r'<[\w.-]+\s[^>]*(?<!-)\bdata-media-id="([a-zA-Z0-9_]+)"', page), (
|
||||
1, T(lambda x: self._extract_formats_by_product_id(x, video_id)),
|
||||
Ellipsis))
|
||||
1, T(lambda x: self._extract_formats_by_product_id(x, video_id)),
|
||||
Ellipsis))
|
||||
|
||||
self._sort_formats(formats)
|
||||
|
||||
|
|
Loading…
Reference in a new issue