Chrome の Cookie を取得して cURL で使う Bash スクリプト
(github.com/fipso)- Chrome DevTools Protocol を使って、Chrome の特定のタブから Cookie を抽出可能
- 使い方
- Chrome を
google-chrome-stable --remote-debugging-port=9222で起動 - Cookie を取得したいタブをアクティブにする
- スクリプトを実行:
./ccurl.sh <Tab URL Prefix> <cURL command ...>
- Chrome を
1件のコメント
ものすごく不便ですね