mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
change to use compat urllib
This commit is contained in:
parent
447a5a710d
commit
d2be5bb5af
1 changed files with 5 additions and 3 deletions
|
@ -3,14 +3,16 @@
|
|||
|
||||
from .common import InfoExtractor
|
||||
|
||||
from urllib.request import Request
|
||||
from urllib.parse import urlencode
|
||||
from urllib import parse
|
||||
import json
|
||||
import random as rnd
|
||||
from os import path
|
||||
import re
|
||||
|
||||
from ..compat import (
|
||||
compat_urllib_parse_urlencode as urlencode,
|
||||
compat_urllib_request as Request,
|
||||
compat_urlparse as parse,
|
||||
)
|
||||
from ..utils import (
|
||||
js_to_json,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue