1
0
Fork 0

Remove Python 3.9 support (#13861)

Closes #13858
Authored by: bashonly
This commit is contained in:
bashonly 2025-10-15 05:25:21 -05:00 committed by GitHub
commit 4e6a693057
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 85 additions and 191 deletions

View file

@ -1,5 +1,4 @@
import json
import socket
from .common import InfoExtractor
from ..utils import (
@ -56,7 +55,7 @@ class DTubeIE(InfoExtractor):
try:
self.to_screen(f'{video_id}: Checking {format_id} video format URL')
self._downloader._opener.open(video_url, timeout=5).close()
except socket.timeout:
except TimeoutError:
self.to_screen(
f'{video_id}: {format_id} URL is invalid, skipping')
continue