commit: 676723e0daf86eafb31d82ba07813ebc98b334dd
parent c380cc28c4e94b4b61db7f86d35e48197b407266
Author: Sergey M․ <dstftw@gmail.com>
Date: Tue, 5 May 2020 05:09:07 +0700
[dailymotion] Fix typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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