Skip to the content.

PyPI Version License Documentation Status Downloads

πŸŽ₯ utuby

YouTube’s official API is restrictive 😀 β€” rate limits, quotas, API keys… utuby is a fast and simple Python tool that scrapes YouTube comments without using the API β€” βœ… No rate limits, βœ… No keys, βœ… No restrictions.


Source Link
🐍 PyPI utuby on PyPI
πŸ›  Repository GitHub Repo
πŸ“š Documentation Read the Docs

πŸ“¦ Dependencies


πŸ“₯ Installation

Install the required dependencies using pip:

pip install -r requirements.txt

βš™οΈ Quick Start

from utuby.utuby import youtube

url = "https://www.youtube.com/watch?v=xjQFi-HP7po"
youtube = youtube(url)

πŸ” Features & Examples

🧭 Explore Available Methods

print(dir(youtube))

Directory


πŸ“Ί Get Channel Name

>>> youtube.channel_name
'Fully'

🧠 Sentiment Analysis of Comments

>>> youtube.final_sentiment_scores
{'neu': 0.769, 'neg': 0.051, 'pos': 0.178, 'compound': 0.0}

πŸ“Š View YouTube Comments as DataFrame

>>> youtube.youtube_comments_df.head()

DataFrame


🀝 Contributing

Contributions are welcome! πŸ› οΈ For major changes, please open an issue first to discuss what you’d like to improve or add. βœ… Don’t forget to update or add tests accordingly.


πŸ“œ License

This project is licensed under the MIT License πŸͺͺ