mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-07-13 17:17:50 -05:00
[compat] Remove deprecated functions from core code
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import urllib.parse
|
||||
|
||||
from .common import InfoExtractor
|
||||
from ..compat import compat_urlparse
|
||||
|
||||
|
||||
class RtmpIE(InfoExtractor):
|
||||
@ -23,7 +24,7 @@ class RtmpIE(InfoExtractor):
|
||||
'formats': [{
|
||||
'url': url,
|
||||
'ext': 'flv',
|
||||
'format_id': compat_urlparse.urlparse(url).scheme,
|
||||
'format_id': urllib.parse.urlparse(url).scheme,
|
||||
}],
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user