Created
June 6, 2012 21:10
-
-
Save n1k0/2884793 to your computer and use it in GitHub Desktop.
plain phantomjs test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ phantomjs p.js | |
http://www.soshareit.com/mobile?frmnav=yes | |
http://www.soshareit.com/mobile?frmnav=yes | |
http://s7.addthis.com/js/250/addthis_widget.js | |
http://s7.addthis.com/js/250/addthis_widget.js | |
http://www.soshareit.com/css/style.css | |
http://www.soshareit.com/css/style.css | |
https://secure.quantserve.com/quant.js | |
https://secure.quantserve.com/quant.js | |
http://www.soshareit.com/js/slideshow.js | |
http://www.soshareit.com/js/slideshow.js | |
http://www.soshareit.com/js/modernizr-2.0.6.min.js | |
http://www.soshareit.com/js/modernizr-2.0.6.min.js | |
http://www.soshareit.com/js/jquery.min.js | |
http://www.soshareit.com/js/jquery.min.js | |
http://www.google-analytics.com/ga.js | |
http://www.google-analytics.com/ga.js | |
http://www.soshareit.com/img/interface/bg.jpg | |
http://www.soshareit.com/img/interface/sprite.png | |
http://www.soshareit.com/img/body/mobile/iphone/01-SoShare-all.png | |
http://www.soshareit.com/img/body/mobile/iphone/02-SoShare-comments.png | |
http://www.google-analytics.com/__utm.gif?utmwv=5.3.2&utms=1&utmn=1442091318&utmhn=www.soshareit.com&utmcs=UTF-8&utmsr=1440x900&utmvp=400x300&utmsc=32-bit&utmul=fr-fr&utmje=0&utmfl=-&utmdt=Share%20-%20Unlimited%20sending%20of%20videos%20photos%20and%20files%20for%20free&utmhid=136449115&utmr=-&utmp=%2Fmobile%3Ffrmnav%3Dyes&utmac=UA-28070153-1&utmcc=__utma%3D164923197.178033805.1339016955.1339016955.1339016955.1%3B%2B__utmz%3D164923197.1339016955.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B&utmu=D~ | |
http://www.google-analytics.com/__utm.gif?utmwv=5.3.2&utms=1&utmn=1442091318&utmhn=www.soshareit.com&utmcs=UTF-8&utmsr=1440x900&utmvp=400x300&utmsc=32-bit&utmul=fr-fr&utmje=0&utmfl=-&utmdt=Share%20-%20Unlimited%20sending%20of%20videos%20photos%20and%20files%20for%20free&utmhid=136449115&utmr=-&utmp=%2Fmobile%3Ffrmnav%3Dyes&utmac=UA-28070153-1&utmcc=__utma%3D164923197.178033805.1339016955.1339016955.1339016955.1%3B%2B__utmz%3D164923197.1339016955.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B&utmu=D~ | |
http://pixel.quantserve.com/pixel;r=1083358030;a=p-f87ZgUEkM-SZY;fpan=1;fpa=P0-1278543467-1339016954968;ns=0;ce=1;je=0;sr=1440x900x32;enc=n;dst=1;et=1339016954967;tzo=-120;ref=;url=http%3A%2F%2Fwww.soshareit.com%2Fmobile%3Ffrmnav%3Dyes;ogl= | |
http://s7.addthis.com/static/r07/core015.js | |
http://www.google-analytics.com/__utm.gif?utmwv=5.3.2&utms=2&utmn=818212927&utmhn=www.soshareit.com&utmt=var&utmac=UA-28070153-1&utmcc=__utma%3D164923197.178033805.1339016955.1339016955.1339016955.1%3B%2B__utmz%3D164923197.1339016955.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B%2B__utmv%3D164923197.share-launch-01-2012%3B&utmu=DAAQ~ | |
http://www.google-analytics.com/__utm.gif?utmwv=5.3.2&utms=2&utmn=818212927&utmhn=www.soshareit.com&utmt=var&utmac=UA-28070153-1&utmcc=__utma%3D164923197.178033805.1339016955.1339016955.1339016955.1%3B%2B__utmz%3D164923197.1339016955.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B%2B__utmv%3D164923197.share-launch-01-2012%3B&utmu=DAAQ~ | |
http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.getshareapp.com&send=false&layout=standard&width=450&show_faces=false&action=recommend&colorscheme=light&font&height=35 | |
http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.getshareapp.com&send=false&layout=standard&width=450&show_faces=false&action=recommend&colorscheme=light&font&height=35 | |
http://www.soshareit.com/img/interface/sprite.png | |
http://www.soshareit.com/img/body/mobile/iphone/03-SoShare-sidebar.png | |
http://www.soshareit.com/img/body/mobile/iphone/04-SoShare-posting.png | |
http://s7.addthis.com/static/r07/core015.js | |
http://s7.addthis.com/static/r07/widget083.css | |
http://s7.addthis.com/static/r07/widget083.css | |
http://static.ak.fbcdn.net/rsrc.php/v2/y7/r/ql9vukDCc4R.png | |
http://static.ak.fbcdn.net/rsrc.php/v2/y7/r/ql9vukDCc4R.png | |
http://www.soshareit.com/img/interface/bg.jpg | |
http://www.soshareit.com/img/body/mobile/iphone/05-SoShare-image.png | |
http://s7.addthis.com/static/r07/widget044.png | |
http://s7.addthis.com/static/r07/widget044.png | |
http://www.soshareit.com/img/body/mobile/iphone/01-SoShare-all.gif | |
http://static.ak.fbcdn.net/rsrc.php/v2/yi/r/5PQYKf2Va-i.js | |
http://www.soshareit.com/img/body/mobile/iphone/01-SoShare-all.gif | |
http://www.soshareit.com/img/body/mobile/iphone/02-SoShare-comments.gif | |
http://static.ak.fbcdn.net/rsrc.php/v2/yi/r/5PQYKf2Va-i.js | |
http://static.ak.fbcdn.net/rsrc.php/v2/yU/r/yDxySg-QADl.css | |
http://static.ak.fbcdn.net/rsrc.php/v2/yU/r/yDxySg-QADl.css | |
http://www.soshareit.com/img/body/mobile/iphone/01-SoShare-all.png | |
http://www.soshareit.com/img/body/mobile/iphone/03-SoShare-sidebar.png | |
http://www.soshareit.com/img/body/mobile/iphone/02-SoShare-comments.gif | |
http://www.soshareit.com/img/body/mobile/iphone/03-SoShare-sidebar.gif | |
http://www.soshareit.com/img/body/mobile/iphone/04-SoShare-posting.gif | |
http://www.soshareit.com/img/body/mobile/iphone/02-SoShare-comments.png | |
http://www.soshareit.com/img/body/mobile/iphone/05-SoShare-image.gif | |
http://www.soshareit.com/img/body/mobile/iphone/04-SoShare-posting.png | |
http://www.soshareit.com/img/body/mobile/iphone/03-SoShare-sidebar.gif | |
http://www.soshareit.com/img/body/app-store1.png | |
http://www.soshareit.com/img/body/mobile/iphone/04-SoShare-posting.gif | |
http://www.soshareit.com/img/body/googleplay.png | |
http://www.soshareit.com/img/body/googleplay.png | |
http://www.soshareit.com/img/body/app-store1.png | |
http://www.soshareit.com/img/body/mobile/iphone/05-SoShare-image.gif | |
http://www.soshareit.com/img/body/mobile/iphone/05-SoShare-image.png | |
--- | |
done | |
--- | |
http://s7.addthis.com/static/r07/sh089.html#iit=1339016958327&tmr=load%3D1339016954969%26core%3D1339016955314%26main%3D1339016958323%26ifr%3D1339016958328&cb=0&cdn=0&chr=UTF-8&kw=send%2Clarge%2Cfiles%2Cshare%2Capp%2Cclient%2Cwindows%2Cmac%2Cosx&ab=pn0&dh=www.soshareit.com&dr=&du=http%3A%2F%2Fwww.soshareit.com%2Fmobile%3Ffrmnav%3Dyes&dt=Share%20-%20Unlimited%20sending%20of%20videos%20photos%20and%20files%20for%20free&md=0&cap=tc%3D0%26ab%3D0&inst=1&irt=0&jsl=4129&lng=fr-FR&ogt=&pc=wmb&pub=utorrent&ssl=0&sid=4fcfc6fbbd80924f&srd=0&srf=0.02&srp=0.2&srl=1&srx=1&ver=250&xck=0&xtr=0&og=&rev=114164&ct=1&xld=1&xd=1 | |
http://s7.addthis.com/static/r07/sh089.html#iit=1339016958327&tmr=load%3D1339016954969%26core%3D1339016955314%26main%3D1339016958323%26ifr%3D1339016958328&cb=0&cdn=0&chr=UTF-8&kw=send%2Clarge%2Cfiles%2Cshare%2Capp%2Cclient%2Cwindows%2Cmac%2Cosx&ab=pn0&dh=www.soshareit.com&dr=&du=http%3A%2F%2Fwww.soshareit.com%2Fmobile%3Ffrmnav%3Dyes&dt=Share%20-%20Unlimited%20sending%20of%20videos%20photos%20and%20files%20for%20free&md=0&cap=tc%3D0%26ab%3D0&inst=1&irt=0&jsl=4129&lng=fr-FR&ogt=&pc=wmb&pub=utorrent&ssl=0&sid=4fcfc6fbbd80924f&srd=0&srf=0.02&srp=0.2&srl=1&srx=1&ver=250&xck=0&xtr=0&og=&rev=114164&ct=1&xld=1&xd=1 | |
http://www.soshareit.com/mobile?frmnav=yes | |
http://m.addthisedge.com/live/t00/250lo.gif?1xepu1r&uid=4fcfc6fece0d0b95&pub=utorrent&rev=114164&jsl=4129&si=4fcfc6fbbd80924f&ln=fr&pc=wmb&dp=www.soshareit.com&of=0&uf=1&irt=0&md=0&ct=1&tct=0&abt=0<=285&cdn=0&tl=c%3D345%2Cm%3D3354%2Ci%3D3359%2Cxm%3D3642%2Cxp%3D3643&pi=1&fp=mobile%3Ffrmnav%3Dyes | |
http://www.soshareit.com/mobile?frmnav=yes | |
http://www.google-analytics.com/__utm.gif?utmwv=5.3.2&utms=3&utmn=384168680&utmhn=www.soshareit.com&utmcs=UTF-8&utmsr=1440x900&utmvp=400x300&utmsc=32-bit&utmul=fr-fr&utmje=0&utmfl=-&utmdt=Share%20-%20Unlimited%20sending%20of%20videos%20photos%20and%20files%20for%20free&utmhid=347302151&utmr=-&utmp=%2Fmobile%3Ffrmnav%3Dyes&utmac=UA-28070153-1&utmcc=__utma%3D164923197.178033805.1339016955.1339016955.1339016955.1%3B%2B__utmz%3D164923197.1339016955.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B%2B__utmv%3D164923197.share-launch-01-2012%3B&utmu=D~ | |
http://www.google-analytics.com/__utm.gif?utmwv=5.3.2&utms=3&utmn=384168680&utmhn=www.soshareit.com&utmcs=UTF-8&utmsr=1440x900&utmvp=400x300&utmsc=32-bit&utmul=fr-fr&utmje=0&utmfl=-&utmdt=Share%20-%20Unlimited%20sending%20of%20videos%20photos%20and%20files%20for%20free&utmhid=347302151&utmr=-&utmp=%2Fmobile%3Ffrmnav%3Dyes&utmac=UA-28070153-1&utmcc=__utma%3D164923197.178033805.1339016955.1339016955.1339016955.1%3B%2B__utmz%3D164923197.1339016955.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B%2B__utmv%3D164923197.share-launch-01-2012%3B&utmu=D~ | |
http://www.google-analytics.com/__utm.gif?utmwv=5.3.2&utms=4&utmn=934078466&utmhn=www.soshareit.com&utmt=var&utmac=UA-28070153-1&utmcc=__utma%3D164923197.178033805.1339016955.1339016955.1339016955.1%3B%2B__utmz%3D164923197.1339016955.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B%2B__utmv%3D164923197.share-launch-01-2012%3B&utmu=DAAQ~ | |
http://www.google-analytics.com/__utm.gif?utmwv=5.3.2&utms=4&utmn=934078466&utmhn=www.soshareit.com&utmt=var&utmac=UA-28070153-1&utmcc=__utma%3D164923197.178033805.1339016955.1339016955.1339016955.1%3B%2B__utmz%3D164923197.1339016955.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)%3B%2B__utmv%3D164923197.share-launch-01-2012%3B&utmu=DAAQ~ | |
http://pixel.quantserve.com/pixel;r=1685352651;a=p-f87ZgUEkM-SZY;fpan=0;fpa=P0-1278543467-1339016954968;ns=0;ce=1;je=0;sr=1440x900x32;enc=n;dst=1;et=1339016958679;tzo=-120;ref=;url=http%3A%2F%2Fwww.soshareit.com%2Fmobile%3Ffrmnav%3Dyes;ogl= | |
http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.getshareapp.com&send=false&layout=standard&width=450&show_faces=false&action=recommend&colorscheme=light&font&height=35 | |
http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.getshareapp.com&send=false&layout=standard&width=450&show_faces=false&action=recommend&colorscheme=light&font&height=35 | |
--- | |
done | |
--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var page=require('webpage').create(); | |
page.onResourceReceived = function(r){ | |
console.log(r.url); | |
}; | |
function test(cb) { | |
page.open("http://www.soshareit.com/mobile?frmnav=yes", function() { | |
console.log('---\ndone\n---\n'); | |
if (typeof cb === 'function') { | |
cb(); | |
} else { | |
phantom.exit(); | |
} | |
}); | |
} | |
test(function() { | |
test(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment