https://github.com/alisen39/spidertools
爬虫小工具,能够快速的解析Fiddler里的cookie、data、header信息为python字典模式。
https://github.com/alisen39/spidertools
Last synced: about 1 month ago
JSON representation
爬虫小工具,能够快速的解析Fiddler里的cookie、data、header信息为python字典模式。
- Host: GitHub
- URL: https://github.com/alisen39/spidertools
- Owner: alisen39
- Created: 2019-01-06T02:19:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T01:24:57.000Z (about 5 years ago)
- Last Synced: 2025-04-14T23:42:45.055Z (about 1 month ago)
- Language: Python
- Homepage: https://alisen39.com
- Size: 66.4 KB
- Stars: 9
- Watchers: 0
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 在线地址
https://alisen39.com## 说明
* 此工具类主要为了解决使用fiddler进行抓包时将header,data,cookie快速转换为python的字典的方法。* 需在python3下使用
## 使用方法
以get_data.py举例:> 1. 将WebForms下的值复制出来

> 2. 运行后的结果为:> 最后一行的值便是python的字典格式,也是requests,scrapy支持的data格式。
## 注意
* get_headers.py 仅支持解析从`Raw`里复制出来的值
* get_data.py 仅支持解析从`WebForms`里复制出来的值
* get_cookie.py 仅支持解析从`Cookies`里复制出来的值