YouTubeCrawle Wrapper for python
readable and good Docs at https://github.com/KeinShin/youtubecrawler
- Install Using pip
::
pip3 install youtubecrawler
Documentation
Initialize Wrapper
::
from youtubecrawler import crawl
yt=crawl(video_name="xyz)
You can also use
::
yt=crawl(video_link=link)
yt=crawl(video_id=video_id)
Wrapper Is Capable of
For Video
Getting Video Views Getting video tags Getting Video Description Getting Video Title Getting Likes and Dislikes Getting Upload Time Getting Uploader Information
For channels Can Scrape Any info about the channel Like > Last Date Joined > Latest Video Details > Latest Community Post > Channel Description > Info about other channels of the video > Subs of the channel ( by name)
Videos
Gather everything in a single call
::
video=yt.VideoDetails()
Gather Info Separately
Get Views of the video
::
veiws=yt.veiws()
Get tags of the video
::
tags=yt.keyword()
Get video link
::
link=yt.videolink()
Likes and dislikes of the video
::
likes=yt.likes_dislikes()[1] dislikes=yt.likes_dislikes()[2]
Get Upload time
::
uploadtime=yt.videoUploadTime()
Get Video Title
::
title=yt.VidTitle()
Get video description
::
description=yt.description()
Get Uploader Information
::
uploader=yt.channel()
Get Video Views
::
views=yt.views()
Get Video Link
::
videolink=yt.videolink()
Channels
::
from youtubecrawler.channel import channel
ch=channel(channelname="CarryMinati")
Other parameters
::
ch = channel(channellink=channellink) ch = channel(channelid='/channel/UC0IWRLai-BAwci_e9MylNGw')
Get Subs of the channel Use full with name
::
subs=ch.subs()
Get Latest Video
::
subs=ch.latest_video()
Get Latest Community Post
::
post=ch.latest_community()
Get That user other channels
::
otherchannels=ch.spareChannels()
Get links of about
::
aboutlinks=ch.links()
Release files for youtubecrawler 0.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| youtubecrawler-0.19.tar.gz | 7.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| youtubecrawler-0.19-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.0 kB
Release files / youtubecrawler-0.19.tar.gz
| Download URL | youtubecrawler-0.19.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa08979b28537a0d299ddcc9aeef0aec527b828ef5a845339bdb47e2705ddba9
|
|
BLAKE2b-256 checksum How to use checksums |
fe87492e0a99315021e8a6fff0c6a9e536264345452227208b982b2fff89ec3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|
Release files / youtubecrawler-0.19-py3-none-any.whl
| Download URL | youtubecrawler-0.19-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b339ac8e5581ae23ee2c415dcac994dad93dbfdf63cf4f261db0a68fa74873ab
|
|
BLAKE2b-256 checksum How to use checksums |
1e3b14b69a5004e6ea9c71f22a90f216e648cfd12819ad5bf2155e375cf3653a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|