leetcode.vim icon indicating copy to clipboard operation
leetcode.vim copied to clipboard

Add config entry to specify cookie path

Open ningw42 opened this issue 6 years ago • 1 comments

browser_cookie3 fails to retrieve cookie of default profile for Chrome if there are multiple user profiles(on Darwin for me). however, browser_cookie3 does support specifying cookie path explicitly.

may be something like this:

let g:leetcode_browser='chrome'
let g:leetcode_cookie_path='path/to/profile/cookie.db'

or we can infer browser from cookie path, keeping one config entry

let g:leetcode_cookie_path='path/to/profile/cookie.db'

ningw42 avatar Jan 03 '20 16:01 ningw42

Sure. I'll add this option soon.

ianding1 avatar Feb 27 '20 06:02 ianding1