Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sirwanafifi/tesco-clubcards-of-the-day
Tesco ClubCards of the Day is a script developed using Bun to fetch the latest prices of products available with Tesco ClubCards. The script saves the data in a daily JSON file, making it easy to track price changes and deals over time.
https://github.com/sirwanafifi/tesco-clubcards-of-the-day
bun cheerio clubcard scraping supermarket tesco
Last synced: about 1 month ago
JSON representation
Tesco ClubCards of the Day is a script developed using Bun to fetch the latest prices of products available with Tesco ClubCards. The script saves the data in a daily JSON file, making it easy to track price changes and deals over time.
- Host: GitHub
- URL: https://github.com/sirwanafifi/tesco-clubcards-of-the-day
- Owner: SirwanAfifi
- License: apache-2.0
- Created: 2024-01-24T22:57:16.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-04-13T08:04:20.000Z (8 months ago)
- Last Synced: 2024-04-14T05:03:39.591Z (8 months ago)
- Topics: bun, cheerio, clubcard, scraping, supermarket, tesco
- Language: TypeScript
- Homepage:
- Size: 1.64 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Tesco ClubCards of the Day
Tesco ClubCards of the Day is a script developed using Bun to fetch the latest prices of products available with Tesco ClubCards. The script saves the data in a daily JSON file, making it easy to track price changes and deals over time.
### JSON Structure
Each JSON file follows this structure:
```json
[
{
"title": "Product Name",
"price": "Regular Price",
"clubCardPrice": "Discounted Price with ClubCard",
"image": "URL to Product Image"
},
...
]
```Example:
```json
[
{
"title": "Tesco 2 Boneless Salmon Fillets 260G",
"price": "£4.85",
"clubCardPrice": "£4.00",
"image": "https://imageurl.jpeg"
},
...
]
```### Usage
```bash
bun index.ts
```