]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[dailymotion] Fix typo
authorSergey M․ <dstftw@gmail.com>
Mon, 4 May 2020 22:09:07 +0000 (05:09 +0700)
committerSergey M․ <dstftw@gmail.com>
Mon, 4 May 2020 22:09:07 +0000 (05:09 +0700)
youtube_dl/extractor/dailymotion.py

index 327fdb04a71215b8de170314d7080093ced3bbba..b8529050c45c8ee1479e2624ba26aac3f002b9fe 100644 (file)
@@ -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