aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-12-04 08:27:40 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-12-04 08:27:40 +0100
commit810fb84d5edaccfdebbf1c4e441d7747f2688b7b (patch)
tree5a56fb76b9cb2225565b7fc6aa1c64e2e53883b6 /youtube_dl/extractor/common.py
parent5f5e993dc61e68402d60f35df66a08b8bcca808c (diff)
downloadyoutube-dl-810fb84d5edaccfdebbf1c4e441d7747f2688b7b.tar.xz
pep8 and minor beautification all around
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r--youtube_dl/extractor/common.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index e80a2dad0..5b5e33cea 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -819,7 +819,8 @@ class InfoExtractor(object):
return res
def _set_cookie(self, domain, name, value, expire_time=None):
- cookie = compat_cookiejar.Cookie(0, name, value, None, None, domain, None,
+ cookie = compat_cookiejar.Cookie(
+ 0, name, value, None, None, domain, None,
None, '/', True, False, expire_time, '', None, None, None)
self._downloader.cookiejar.set_cookie(cookie)