load_cookiejar¶
- ciecplib.cookies.load_cookiejar(cookiefile, strict=True, ignore_discard=True, ignore_expires=True)¶
Load a cookie jar from a file.
- Parameters:
cookiefile (
str) – path to cookie jar filestrict (
bool, optional) – ifTrue(default), raise all exceptions as they occur, ifFalsejust emit warningsignore_discard (
bool, optional) – options to pass tohttp.cookiejar.FileCookieJar.load(), both default toTruein this usage.ignore_expires (
bool, optional) – options to pass tohttp.cookiejar.FileCookieJar.load(), both default toTruein this usage.