https://github.com/santhoshse7en/utuby
simple script for downloading Youtube comments without using the Youtube API
https://github.com/santhoshse7en/utuby
ajax bs4 css-selector lexicon lxml scraper sentimental-analysis textblob textblob-sentiment-analysis vandersentiment web without-api youtube youtube-api youtube-channel youtube-comments youtube-comments-downloader youtube-downloader youtube-scraper
Last synced: 8 months ago
JSON representation
simple script for downloading Youtube comments without using the Youtube API
- Host: GitHub
- URL: https://github.com/santhoshse7en/utuby
- Owner: santhoshse7en
- License: mit
- Created: 2019-05-30T11:49:31.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-30T12:51:06.000Z (about 7 years ago)
- Last Synced: 2025-02-01T17:51:11.303Z (over 1 year ago)
- Topics: ajax, bs4, css-selector, lexicon, lxml, scraper, sentimental-analysis, textblob, textblob-sentiment-analysis, vandersentiment, web, without-api, youtube, youtube-api, youtube-channel, youtube-comments, youtube-comments-downloader, youtube-downloader, youtube-scraper
- Language: Python
- Homepage: https://santhoshse7en.github.io/utuby/.
- Size: 13.7 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://pypi.org/project/utuby)
[](https://pypi.python.org/pypi/utuby/)
[](https://santhoshse7en.github.io/utuby_doc)
[](https://pepy.tech/project/utuby)
# π₯ 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](https://pypi.org/project/utuby/) |
| π Repository | [GitHub Repo](https://github.com/santhoshse7en/utuby/) |
| π Documentation | [Read the Docs](https://santhoshse7en.github.io/utuby_doc/) |
---
## π¦ Dependencies
* `beautifulsoup4`
* `requests`
* `lxml`
* `cssselect`
* `vaderSentiment`
* `textblob`
* `pandas`
---
## π₯ Installation
Install the required dependencies using pip:
```bash
pip install -r requirements.txt
```
---
## βοΈ Quick Start
```python
from utuby.utuby import youtube
url = "https://www.youtube.com/watch?v=xjQFi-HP7po"
youtube = youtube(url)
```
---
## π Features & Examples
### π§ Explore Available Methods
```python
print(dir(youtube))
```

---
### πΊ Get Channel Name
```python
>>> youtube.channel_name
'Fully'
```
---
### π§ Sentiment Analysis of Comments
```python
>>> youtube.final_sentiment_scores
{'neu': 0.769, 'neg': 0.051, 'pos': 0.178, 'compound': 0.0}
```
---
### π View YouTube Comments as DataFrame
```python
>>> youtube.youtube_comments_df.head()
```

---
## π€ 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](https://choosealicense.com/licenses/mit/) πͺͺ
---