mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-06 06:45:00 +01:00
parent
f82711587c
commit
e5a998f368
13 changed files with 46 additions and 33 deletions
|
|
@ -28,6 +28,7 @@ from ..utils import (
|
|||
|
||||
# NOTE: network handler related code is temporary thing until network stack overhaul PRs are merged (#2861/#2862)
|
||||
|
||||
|
||||
def add_opener(ydl, handler):
|
||||
''' Add a handler for opening URLs, like _download_webpage '''
|
||||
# https://github.com/python/cpython/blob/main/Lib/urllib/request.py#L426
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue