From ce6e7c2271c426cdd545c10815aa672a1be76858 Mon Sep 17 00:00:00 2001 From: mimvahedi Date: Wed, 13 Dec 2023 00:26:34 +0330 Subject: [PATCH] [alaa] convert " to ' --- youtube_dl/extractor/alaa.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/youtube_dl/extractor/alaa.py b/youtube_dl/extractor/alaa.py index ab49d08d7..11afb9a32 100644 --- a/youtube_dl/extractor/alaa.py +++ b/youtube_dl/extractor/alaa.py @@ -35,10 +35,10 @@ class AlaaIE(InfoExtractor): def map_formats(v): return { - "url": v.get("link"), - "filesize": parse_filesize(v.get("size")), - "format_id": v.get("res"), - "ext": v.get("ext"), + 'url': v.get('link'), + 'filesize': parse_filesize(v.get('size')), + 'format_id': v.get('res'), + 'ext': v.get('ext'), } formats = list(map(map_formats, video_details['file']['video'])) @@ -48,7 +48,7 @@ class AlaaIE(InfoExtractor): 'title': video_details['title'], 'formats': formats, 'thumbnail': url_or_none(video_image), - 'duration': int_or_none(parse_duration(video_details.get('duration') + ":00")) + 'duration': int_or_none(parse_duration(video_details.get('duration') + ':00')) }