修复文本中有空格,导致的bug
这两天趁有时间浅学了一下易语言,之前一直用python写工具,但python写启动软件慢,而且太大,
学的很浅,用中文写很不习惯,
由于常常做爬虫,常常要把请求头转换到python/代码里,每次做重复工作浪费时间,就自己写了这么个小工具,
有的人会说,转换成、curl,但 列如fiddler不支持,并且有的站转换会出错,
下面附几张截图
`headers = {}
可以直接粘贴转换后的代码
headers =
{
‘Accept’
:
‘text/css,*/*;q=0.1’
,
‘Accept-Encoding’
:
‘gzip,deflate,br’
,
‘Accept-Language’
:
‘zh-CN,zh;q=0.9’
,
‘Cache-Control’
:
‘no-cache’
,
‘Connection’
:
‘keep-alive’
,
‘Cookie’
:
‘__gads=ID=899ea4a5b746c78d-22c4705207c40000’
,
‘DNT’
:
‘1’
,
‘Host’
:
‘static..cn’
,
‘Pragma’
:
‘no-cache’
,
‘Referer’
:
‘https://bbs.songma.com/forum.php’
,
‘Sec-Fetch-Dest’
:
‘style’
,
‘Sec-Fetch-Mode’
:
‘no-cors’
,
‘Sec-Fetch-Site’
:
‘same-site’
,
‘User-Agent’
:
‘Mozilla/5.0(WindowsNT10.0;WOW64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/80.0.3987.87Safari/537.36SE2.XMetaSr1.0’
,
}
`
软件无毒,源码可以分享给大佬们:
下面是软件下载链接,
https://devilwst.lanzoui.com/iJyN6sbb0ch























暂无评论内容