Skip to main content

Downloads Youtube Clips on given interval of time

Project description

NiuLab-crawl-YouTube-screenshots

NiuLab-crawl-YouTube-screenshots is a Python library that extracts clips from youtube videos with help of their ID.

Installation

Use the package manager pip to install NiuLab-crawl-YouTube-screenshots.

pip install NiuLab-crawl-YouTube-screenshots

Usage

import importlib

imported_package=importlib.import_module("NiuLab-crawl-YouTube-screenshots.NiuLab-crawl-YouTube-screenshots")

imported_package.process_video(SOURCE FILE XLSX, DESTINATION FOLDER)

Example Usage

import importlib

imported_package=importlib.import_module("NiuLab-crawl-YouTube-screenshots.NiuLab-crawl-YouTube-screenshots")

imported_package.process_video(r'C:\Users\testUser\PycharmProjects\python_package_test\test_file.xlsx',
               r'C:\Users\testUser\PycharmProjects\outputFolder')

Dependencies

To use NiuLab-crawl-YouTube-screenshots in your application developments, you must have installed the following dependencies to successfully use NiuLab-crawl-YouTube-screenshots :

  • Pandas
  • OpenCV
  • Youtube-Dl
  • OpenPyXl

You can install all the dependencies by running the commands below

Pandas

pip install pandas

OpenCV

pip install opencv-python

Youtube-Dl

pip install youtube-dl

OpenPyXL

 pip install openpyxl

License

MIT

NOTE : This package is under process of development.

Some things to remember:

  1. It supports "XLSX" filetype as input
  2. Provide raw full pathname for input file and output destination folder
  3. First column of excel file should contain all id for videos and it should have title as "video_id"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page