From: Sergey M․ Date: Mon, 4 May 2020 22:09:07 +0000 (+0700) Subject: [dailymotion] Fix typo X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=676723e0daf86eafb31d82ba07813ebc98b334dd;p=youtube-dl [dailymotion] Fix typo --- diff --git a/youtube_dl/extractor/dailymotion.py b/youtube_dl/extractor/dailymotion.py index 327fdb04a..b8529050c 100644 --- a/youtube_dl/extractor/dailymotion.py +++ b/youtube_dl/extractor/dailymotion.py @@ -32,7 +32,7 @@ class DailymotionBaseInfoExtractor(InfoExtractor): @staticmethod def _get_cookie_value(cookies, name): - cookie = cookies.get('name') + cookie = cookies.get(name) if cookie: return cookie.value