jae-jae / QueryList

:spider: The progressive PHP crawler framework! 优雅的渐进式PHP采集框架。
https://querylist.cc
2.65k stars 441 forks source link

建议加入http ip伪装功能 #20

Closed mountainguan closed 6 years ago

mountainguan commented 6 years ago

加入一个函数,允许把ip传入进行伪装,这样的功能应该配合post,get方法很实用

'X-Forwarded-For' => $ip,
'Proxy-Client-IP' => $ip,
'WL-Proxy-Client-IP' => $ip,
'HTTP_CLIENT_IP' => $ip,
'X-Real-IP' => $ip,
jae-jae commented 6 years ago

建议封装为QueryList插件,然后提交到QueryList插件仓库:https://github.com/jae-jae/QueryList-Community

mountainguan commented 6 years ago

@jae-jae 插件做好了 https://github.com/mountainguan/QLPlugin-DisguisePlugin