Understood. Here are the steps to fulfill your requirements:
1. Scraping the Countdown website:
To obtain the promotion list data by category from the Countdown website, you can use web scraping techniques. Python has several libraries such as Beautiful Soup, Scrapy, and Requests-HTML that can be used for web scraping. You can use these libraries to retrieve the data you need.
2. Sorting the data:
Once you have obtained the data, you can sort it by promotion strength using Python's built-in sorting functions such as the sorted() method. You can sort the data in descending order of promotion strength based on the discount percentage, where the larger the discount percentage, the higher the promotion strength.
3. Building the web page:
To build a simple web page, you can use HTML, CSS, and JavaScript. You can use a templating engine such as Jinja2 to dynamically generate the web page based on the sorted data. You can also use a web framework such as Flask or Django to simplify the development process.
4. Setting up email subscription service:
To provide email subscription service to users, you can use Python's built-in SMTP library or third-party email services such as SendGrid, Mailchimp, or Amazon SES. You can create an email template using HTML and CSS that displays the top 10 discounted products and use Python to send the email to subscribers at 4 pm every day.