Skip to content

santhoshse7en/utuby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.


🔗 Project Links

Source Link
🐍 PyPI utuby on PyPI
🛠 Repository GitHub Repo
📚 Documentation Read the Docs

📦 Dependencies

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

📥 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 🪪