1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-22 01:02:52 +08: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 @staticmethod
def _get_cookie_value(cookies, name): def _get_cookie_value(cookies, name):
cookie = cookies.get('name') cookie = cookies.get(name)
if cookie: if cookie:
return cookie.value return cookie.value