Webpage Last Modified Timestamp is a Python script that retrieves the last modified timestamp of a webpage. It can extract the timestamp from the last-modified header or from a meta tag named date in the HTML of the webpage.
- Ensure you have Python installed on your system.
- Install the required dependencies by running:
pip install requests beautifulsoup4
- Clone the repository to your local machine.
- Navigate to the directory containing the script.
- Run the script using the following command:
python script.py -s <URL>Replace <URL> with the URL of the webpage you want to retrieve the last modified timestamp for.
-s, --url: Specifies the URL of the webpage.
python script.py -s https://example.comThis will retrieve the last modified timestamp of the webpage https://example.com and display it in a human-readable format.
This project is not licensed. Feel free to use it, modify it, and distribute it as you wish.