ytutils
YouTube video & channel details extractor
Pypi Website
Features
- Extract video details
- Extract channel details
Installation
pip install ytutils
Video Extraction
Importing
from ytutils.Video import Video
Step-1
api_key = "YOUR API KEY"
vid = Video(api_key)
Step-2
try:
vid.start(video_url="https://www.youtube.com/watch?v=hW7qJZK2UAc") # Or vid.start(video_id="hW7qJZK2UAc")
except:
pass # Error occurred
Step-3
details = vid.result()
print(details['title'])
Channel Extraction
Importing
from ytuils.Channel import Channel
Step-1
api_key = "YOUR API KEY"
cha = Channel(api_key)
Step-2
try:
cha.start(channel_url="https://www.youtube.com/channel/UC_yAFedtY2po4noljIqSM1w") # Or cha.start(channel_id="UC_yAFedtY2po4noljIqSM1w")
except:
pass # Error Occurred
Step-3
details = cha.result()
print(details['title'])
Contact me
Metadata
Release files for ytutils 0.1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ytutils-0.1.0.4.tar.gz | 3.2 kB | Without provenance | Details for ytutils-0.1.0.4.tar.gz |
Release files / ytutils-0.1.0.4.tar.gz
| Download URL | ytutils-0.1.0.4.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f861adde71f2f3bdadab147a201d174777d1b937fae0cf9bcf2c39cf545556fc
|
|
BLAKE2b-256 checksum How to use checksums |
ac4b4abc03d649158c889b87d657594a4c19687720bfe218ec9bd785b5dbf6e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Security for ytutils 0.1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.