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
NOTE : This package is under process of development.
Some things to remember:
- It supports "XLSX" filetype as input
- Provide raw full pathname for input file and output destination folder
- First column of excel file should contain all id for videos and it should have title as "video_id"
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for NiuLab-crawl-YouTube-screenshots-2.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8039b96eec4f9dd05e1f0916ad12e2e9a88762fd961b2f9855adcbbf4b5fbdc1 |
|
MD5 | 96c8a8761b8f2e51c5f1336b64d1e4d0 |
|
BLAKE2b-256 | 61186efef2f061098d8535e399822278695007c4deb0d191c8471b92433b0ad3 |
Close
Hashes for NiuLab_crawl_YouTube_screenshots-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68ea0f02f0c2c1dbdd62e0f09c5b3e509148e62fdbbf3eb8e56f29c52fe3e5a6 |
|
MD5 | d125b2cdc1128c75bd4f022466c06efb |
|
BLAKE2b-256 | ab7ff7d57ebacc9b59912f0d4f12d2b0e4028ae1feb6ddd2a7f15fd52dc80916 |