diff options
author | Sergey M․ <dstftw@gmail.com> | 2020-05-05 05:09:07 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2020-05-05 05:09:07 +0700 |
commit | 676723e0daf86eafb31d82ba07813ebc98b334dd (patch) | |
tree | 9b0920827da0559b7322f45412084e3c077e0209 | |
parent | c380cc28c4e94b4b61db7f86d35e48197b407266 (diff) |
[dailymotion] Fix typo
-rw-r--r-- | youtube_dl/extractor/dailymotion.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |