This Python script is designed to scrape data from the Hotstar website, a popular online streaming platform for movies and TV shows. The script fetches information about recently added content and premium content, including details such as title, description, genre, cast, duration, and more.
- Scrapes recently added content from Hotstar
- Scrapes premium content from Hotstar
- Extracts detailed information about each content item
- Saves the scraped data to a CSV file
Before running the script, ensure that you have the following dependencies installed:
- Python (version 3.x)
- requests
- re
- csv
- Clone the repository:
git clone https://github.com/ns9920/hotstar-scraper.git
- Navigate to the project directory:
cd hotstar-scraper
- Run the script:
python scraper.py
- The script will scrape the data and save it to a CSV file (e.g.,
HT.csv
) in theoutput/Hotstar
directory.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.