web scraping
June 1, 2025 DemoCurrency & Gold Prices Scraper
A lightweight Laravel application that retrieves live currency exchange rates and gold prices from a public data source using web scraping techniques, processes the extracted information, and presents it through a clean and responsive interface.
Project Overview
This project was developed as a practical example of implementing web scraping with Laravel. It demonstrates how to retrieve HTML pages, parse their content, extract structured financial data, and present it through a simple web interface.
Application Features
- Live currency exchange rate scraping.
- Gold price scraping.
- HTML content parsing and structured data extraction.
- Clean and responsive user interface.
- Arabic date and time formatting.
- Switch between currency and gold price views.
- Real-time data presentation.
Scraping Workflow
- Send HTTP requests to the target website.
- Retrieve the HTML response.
- Parse HTML using CSS selectors.
- Extract currency and gold price data.
- Render the processed data using Blade templates.
Technologies Used
Backend
- Laravel
- Guzzle HTTP Client
- Symfony DomCrawler
Frontend
- Blade Templates
- HTML5
- CSS3
- Bootstrap 5
Project Goals
- Demonstrate practical web scraping using Laravel.
- Extract and process structured financial data.
- Display live currency and gold prices.
- Provide a simple and extensible scraping architecture.
- Serve as a foundation for future data aggregation projects.