utuby
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 |
|---|---|
| PyPI: | https://pypi.org/project/utuby/ |
| Repository: | https://santhoshse7en.github.io/utuby/ |
| Documentation: | https://santhoshse7en.github.io/utuby_doc/ |
Dependencies
- 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 = 'https://www.youtube.com/watch?v=xjQFi-HP7po'
>>> youtube = youtube(url)
Directory of youtube class
>>> print(dir(youtube))
Examples for Extracting YouTube Channel Name
>>> youtube.channel_name
'Fully'
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()
Contributing
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.
License
Metadata
Release files for utuby 0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| utuby-0.7.tar.gz | 5.4 kB | Without provenance | Details |
Release files / utuby-0.7.tar.gz
| Download URL | utuby-0.7.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87688d3e1f43657162b8da6eddd963f71bef3788da76c86206f56fe2e2b0723e
|
|
BLAKE2b-256 checksum How to use checksums |
62a8c182688de9486dc424e1c1d965295bbd1eaf869e649b33ba3aaad5d01c04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Security for utuby 0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.