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

File details

Details for the file NiuLab-crawl-YouTube-screenshots-2.0.0.tar.gz.

File metadata

File hashes

Hashes for NiuLab-crawl-YouTube-screenshots-2.0.0.tar.gz
Algorithm Hash digest
SHA256 8039b96eec4f9dd05e1f0916ad12e2e9a88762fd961b2f9855adcbbf4b5fbdc1
MD5 96c8a8761b8f2e51c5f1336b64d1e4d0
BLAKE2b-256 61186efef2f061098d8535e399822278695007c4deb0d191c8471b92433b0ad3

See more details on using hashes here.

File details

Details for the file NiuLab_crawl_YouTube_screenshots-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for NiuLab_crawl_YouTube_screenshots-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68ea0f02f0c2c1dbdd62e0f09c5b3e509148e62fdbbf3eb8e56f29c52fe3e5a6
MD5 d125b2cdc1128c75bd4f022466c06efb
BLAKE2b-256 ab7ff7d57ebacc9b59912f0d4f12d2b0e4028ae1feb6ddd2a7f15fd52dc80916

See more details on using hashes here.

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