This Flask-based application allows users to analyze URLs to determine the technology stack used on those websites by leveraging the Wappalyzer API.
- URL analysis via Wappalyzer API
- Error handling for invalid or inaccessible URLs
- JSON formatted output of technology stack
- Python 3
- Flask
- Requests library
- Clone the repository:
git clone <repository-url>
- Navigate to the project directory:
cd <project-directory>
- Install the required Python packages:
pip install flask requests
- Set your Wappalyzer API key in the
app.py
file:API_KEY = 'your_api_key_here'
- The API endpoint is pre-configured as:
WAPPALYZER_API_ENDPOINT = 'https://api.wappalyzer.com/v2/lookup/'
- Ensure the API key and endpoint are correctly set to avoid unauthorized errors.
- Start the server:
python app.py
- Access the endpoint
/analyze
via GET request with a URL parameter to analyze a website:http://localhost:5000/analyze?url=http://example.com
- The server will return a JSON response with the technology stack or an error message.