如何高效、优雅的利用cookie
当获取到cookie,利用cookie登录,一般都是用editthiscookie来一行行修改,而cookie内容比较多的时候,这样一行行修改实在过于麻烦
editthiscookie可以导出形如:
// Semicolon separated Cookie File
// This file was generated by EditThisCookie
// Details: http://www.ietf.org/rfc/rfc2109.txt
// Example: http://www.tutorialspoint.com/javascript/javascript_cookies.htm
// URL: http://zone.wooyun.org/index.php?do=publish&fieldId=258
__cfduid=dc662********94889;Hm_lvt_c12f88b5c1cd041a732dea597a5ec94c=145***335,145**7,1457328407,145**139;wy_pwd=db***JsoQueJW0Wf%2Fqtg;wy_uid=2a1a7***y77OGDQ;Hm_lpvt_3faf3a47435cc512f3b86dc12af100d0=1457493901;Hm_lvt_3faf3a47435cc512f3b86dc12af100d0=145**5281,14**9651,1457*36,1*457493856;bdshare_firstime=145**74208;PHPSESSID=0t5**dbge1;
我们抓取到的cookie一般也是这个格式的,但是editthiscookie导入的话就只能是固定的json格式,无法直接导入抓取的cookie,只能一行一行输入
问:
大家有什么办法 轻松 简单 的 录入cookie