Skip to content

Tserediani/youtube_playlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube Playlist Information Retrival

This project is a Python script that allows you to retrieve information about a YouTube playlist. It utilizes web scraping techniques to fetch the necessary data from the YouTube website and provides options to save the data in different formats.

Installation

  1. Clone the repository:

    git clone https://github.com/tserediani/youtube_playlist.git
  2. Change into the project directory:

    cd youtube_playlist
  3. Create a virtual environment (optional but recommended):

    python -m venv env
  4. Activate the virtual environment: For Windows:

    env\Scripts\activate

    For Unix or Linux:

    source env/bin/activate
  5. Use the package manager pip to install required dependencies.

    pip install -r requirements.txt

Usage

  1. Modify the necessary constants and configurations in constants.py to match your requirements.
  2. Run the main script:
     python main.py
    The script will start scraping the youtube webstie and extract playlist information of given BASE_URL. The data will be written to desired FROMAT [XLSX/CSV] in the current directory.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

This project is licensed under the MIT License

About

Youtube channel's playlist scraper.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages