A headless,standalone webkit server which make grabing dynamic web page easier.
- Linux v1.3.1 x64 (support ubuntu14,ubuntu14+,centos6,contos6+)
cd /dir/of/seimiAgent ./seimiagent -p 8000
SeimiAgent will start and listen on the port that you set.Than you can use any http client tools post a load reqest to SeimiAgent and get back the content which just like chrome do.Http client tools you can use:
httpclient of java,
curl of cmd,
httplib2 of python including, but not limited to.
- significantly simplify the login of a complex system by using js
Http parameters that seimiAgent support
Only support post.Request path:
urlyour target url
proxyTell SeimiAgent to use proxy.Pattern:
postParamJson string only,tell seimiAgent you want to use http post method and pass the parameters in
useCookie==1,seimiAgent deem you want to use cookie.Default 0.
contentTypeDetermine the output format,you can choose
uaSet your userAgent
resourceTimeoutSet resource request timeout,such as js resource etc.Default resource timeout 20000ms.
How to build
It will take a very long time to build,so it is recommended to use the premade binary file in 'Download'.
- on ubuntu
sudo apt-get install build-essential g++ flex bison gperf ruby perl libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev libpng-dev libjpeg-dev python libx11-dev libxext-dev
- on centos
yum -y install gcc gcc-c++ make flex bison gperf ruby openssl-devel freetype-devel fontconfig-devel libicu-devel sqlite-devel libpng-devel libjpeg-devel
Then wait or take a cup of tea.
More Doc is on his way...