Skip to main content

Youtube videos and channels scraper python wraper!

Project description

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()

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

youtubecrawler-0.0.9.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

youtubecrawler-0.0.9-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file youtubecrawler-0.0.9.tar.gz.

File metadata

  • Download URL: youtubecrawler-0.0.9.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for youtubecrawler-0.0.9.tar.gz
Algorithm Hash digest
SHA256 60b8300570f156a84dc8affef4f8f12fe078b76b2c8861fef457ee2b9d2b0ec3
MD5 2458848b0810c1bef9e44bb5abd4ec2e
BLAKE2b-256 2c77c6d0c4400a286ceaba2cc38671e2d1a01cb33df6756517d41e6a7d1c8252

See more details on using hashes here.

File details

Details for the file youtubecrawler-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: youtubecrawler-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for youtubecrawler-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d29124f6d8973269b4bb4896d4e59d7e937f65214a47e914eaef1c0d50bdfc5a
MD5 0d7835e0b5d1fc5bb57a2360e9ff2390
BLAKE2b-256 69ca785722ddd0af031f6aafedb98a001e5f2fd7b9f0098321112c4ae4b05c33

See more details on using hashes here.

Supported by

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