[dailymotion] Fix typo

This commit is contained in:
Sergey M․ 2020-05-05 05:09:07 +07:00
parent c380cc28c4
commit 676723e0da
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View 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