Updated ytdlp version

This commit is contained in:
2023-08-13 20:13:21 -05:00
parent 5264103f31
commit ee3e042b1b
344 changed files with 20808 additions and 7875 deletions

View File

@@ -1,8 +1,8 @@
import re
from .common import InfoExtractor
from ..networking import HEADRequest
from ..utils import (
HEADRequest,
format_field,
float_or_none,
get_element_by_id,
@@ -70,6 +70,7 @@ class VidLiiIE(InfoExtractor):
r'src\s*:\s*(["\'])(?P<url>(?:https?://)?(?:(?!\1).)+)\1',
webpage) or []]
for source in sources:
source = urljoin(url, source)
height = int(self._search_regex(r'(\d+).mp4', source, 'height', default=360))
if self._request_webpage(HEADRequest(source), video_id, f'Checking {height}p url', errnote=False):
formats.append({