Using cookies.txt file with Python Requests
MozillaCookieJar inherits from FileCookieJar which has the following docstring in its constructor: Cookies are NOT loaded from the named file until either the .load() or .revert() method is called. You need to call .load() method then. Also, like Jermaine Xu noted the first line of the file needs to contain either # Netscape HTTP Cookie … Read more