Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.28 KB

README.md

File metadata and controls

34 lines (28 loc) · 1.28 KB

IR_Holiday Calendar Scraper

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.

Features

  • 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 or CSV).
  • Output includes:
    • Jalali and Gregorian dates.
    • Holiday markers (is_holiday).
    • Holiday descriptions for official holidays.

Usage

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.

Requirements

  • Python 3.6+
  • Libraries:
    • requests
    • BeautifulSoup
    • jdatetime
    • pandas

Installation

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

Contributing

Contributions and suggestions are welcome! If you like this project, don't forget to star 🌟 the repository.