Browse Source

[dailymotion] Fix typo

Sergey M․ 5 years ago
parent
commit
676723e0da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/dailymotion.py

+ 1 - 1
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