IR_Holiday Calendar Scraper is a Python project designed to scrape and process holiday data from the time.ir website. This tool helps you generate a complete Jalali (Persian) and Gregorian calendar dataset, including official holidays and regular days.
- Extract official holiday data from the time.ir website.
- Convert Jalali (Persian) dates to Gregorian using
jdatetime
. - Build a comprehensive calendar dataset in a structured format (
DataFrame
orCSV
). - Output includes:
- Jalali and Gregorian dates.
- Holiday markers (
is_holiday
). - Holiday descriptions for official holidays.
Whether you're building a scheduling app, a calendar integration, or analyzing date-related data, this project simplifies the process by providing accurate and structured calendar data.
- Python 3.6+
- Libraries:
requests
BeautifulSoup
jdatetime
pandas
Clone this repository and install the required dependencies:
git clone https://github.com/your_username/ir_holiday_calendar_scraper.git
cd ir_holiday_calendar_scraper
pip install -r requirements.txt
Contributions and suggestions are welcome! If you like this project, don't forget to star 🌟 the repository.