Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Python package which to access the YouTube database without API

Project description

PyPI Version Coverage Status License Documentation Status


YouTube's API is annoying to work with, and has lots of limitations. utuby is a simple script for downloading Youtube comments without using the Youtube API - No API rate limits. No restrictions. Extremely fast.

Source Link


  • beautifulsoup4
  • requests
  • lxml
  • cssselect
  • vaderSentiment
  • textblob
  • pandas

Dependencies Installation

Use the package manager pip to install following

pip install -r requirements.txt

A Glance

Download it by clicking the green download button here on Github. You only need to parse specific YouTube URL as argument.

>>> from utuby.utuby import youtube

>>> url = ''

>>> youtube = youtube(url)

Directory of youtube class

>>> print(dir(youtube))


Examples for Extracting YouTube Channel Name

>>> youtube.channel_name


Examples Calculating Sentiment Scores for extracted YouTube Comments

>>> youtube.final_sentiment_scores

{'neu': 0.769, 'neg': 0.051, 'pos': 0.178, 'compound': 0.0}

Youtube Comments DataFrame

>>> youtube.youtube_comments_df.head()



Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for utuby, version 0.7
Filename, size File type Python version Upload date Hashes
Filename, size utuby-0.7.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page