1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-03 06:22:58 +01:00

[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