I am looking for a python- script that analyzes the site in order to identify the type of HTTP server being used .
Write a link to any sample.
With the help of the requests plugin, you can easily solve your problem.
import requests r = requests.get('http://vk.com/') print r.headers["server"] // nginx/1.2.4 print r.headers["x-powered-by"] // PHP/5.2.6-1+lenny9
Since there is only one HTTP server on the site, it makes no sense to analyze all the pages, one is enough.
Ready, for sure, no.
As an option:
From python call it through subprocess (or analogs).
Source: https://ru.stackoverflow.com/questions/183870/
All Articles