mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 09:01:43 +00:00
[cloudy] Minor changes
This commit is contained in:
parent
b8d61935a0
commit
5dbf3b5c60
@ -8,6 +8,7 @@
|
||||
ExtractorError,
|
||||
compat_parse_qs,
|
||||
compat_urllib_parse,
|
||||
remove_end,
|
||||
)
|
||||
|
||||
|
||||
@ -52,12 +53,14 @@ def _real_extract(self, url):
|
||||
|
||||
title = data.get('title', [None])[0]
|
||||
if title:
|
||||
title = title.replace('&asdasdas', '').strip()
|
||||
title = remove_end(title, '&asdasdas').strip()
|
||||
|
||||
formats = []
|
||||
video_url = data.get('url', [None])[0]
|
||||
if video_url:
|
||||
formats.append({
|
||||
'format_id': 'sd',
|
||||
'url': data.get('url', [None])[0],
|
||||
'url': video_url,
|
||||
})
|
||||
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user