about summary refs log tree commit diff
path: root/youtube_dl/extractor/dailymotion.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2020-05-05 05:09:07 +0700
committerSergey M․ <dstftw@gmail.com>2020-05-05 05:09:07 +0700
commit676723e0daf86eafb31d82ba07813ebc98b334dd (patch)
tree9b0920827da0559b7322f45412084e3c077e0209 /youtube_dl/extractor/dailymotion.py
parentc380cc28c4e94b4b61db7f86d35e48197b407266 (diff)
downloadyoutube-dl-676723e0daf86eafb31d82ba07813ebc98b334dd.tar.gz
youtube-dl-676723e0daf86eafb31d82ba07813ebc98b334dd.tar.xz
youtube-dl-676723e0daf86eafb31d82ba07813ebc98b334dd.zip
[dailymotion] Fix typo
Diffstat (limited to 'youtube_dl/extractor/dailymotion.py')
-rw-r--r--youtube_dl/extractor/dailymotion.py2
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