mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
[nosvideo] Remove determine_ext usage (#3655)
This commit is contained in:
parent
1b8477729a
commit
b47ed50aaf
@ -7,7 +7,6 @@
|
||||
from ..utils import (
|
||||
compat_urllib_parse,
|
||||
compat_urllib_request,
|
||||
determine_ext,
|
||||
xpath_with_ns,
|
||||
)
|
||||
|
||||
@ -52,12 +51,10 @@ def _real_extract(self, url):
|
||||
title = _find(track, './xspf:title')
|
||||
url = _find(track, './xspf:file')
|
||||
thumbnail = _find(track, './xspf:image')
|
||||
ext = determine_ext(title)
|
||||
|
||||
formats = [{
|
||||
'format_id': 'sd',
|
||||
'url': url,
|
||||
'ext': ext,
|
||||
}]
|
||||
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user