turbobytes / cdnfinder

Webapp and cli-tool to detect CDN usage of websites.
http://www.cdnplanet.com/tools/cdnfinder/
MIT License
111 stars 27 forks source link

Docker image for CLI never returns a value #3

Closed garrettgalow closed 6 years ago

garrettgalow commented 7 years ago

Following cmd for any site: docker run -it turbobytes/cdnfinder cdnfindercli --phantomjsbin="/bin/phantomjs" --full http://www.cdnplanet.com/

always returns:

{ "basecdn": null, "assetcdn": null, "everything": [] }

On OSX 10.12.5, with Docker version 17.06.0-ce, build 02c1d87 and latest docker image

sajal commented 7 years ago

I can confirm the issue on my end also.

It seems to work when using other URLs.

docker run -it turbobytes/cdnfinder cdnfindercli --phantomjsbin="/bin/phantomjs" --full http://www.turbobytes.com/

I will turn on verbose debugging and look into this later.

garrettgalow commented 7 years ago

You are right, the 2-3 sites I tested just all happened to fail. It doesn't seem like basecdn or assetcdn ever has a value though - or I have yet to see one.