mirror of
https://github.com/bellingcat/youtube-comment-scraper.git
synced 2026-06-11 21:18:32 +03:00
48 lines
1.2 KiB
Markdown
48 lines
1.2 KiB
Markdown
# YouTube-Comment-Scraper
|
|
A script to scrape youtube comments and checks whether a user commented on the given videos
|
|
|
|
# Installation
|
|
**1. Clone the project**
|
|
```
|
|
git clone https://github.com/rly0nheart/YouTube-Comment-Scraper.git
|
|
```
|
|
|
|
**2. Move to YouTube-Comment-Scraper directory**
|
|
```
|
|
cd YouTube-Comment-Scraper
|
|
```
|
|
|
|
**3. Install dependencies**
|
|
## Note
|
|
```
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
# Usage
|
|
```
|
|
python scraper.py <youtube_video_url_1> <youtube_video_url_2> <youtube_video_url_3>
|
|
```
|
|
|
|
> *Alternatively, you could grant execution permission to the downloader and run it as shown below*
|
|
|
|
**1. Grant execution permission**
|
|
```
|
|
chmod +x scraper.py
|
|
```
|
|
|
|
**2. Run scraper.py**
|
|
```
|
|
./scraper.py <youtube_video_url_1> <youtube_video_url_2> <youtube_video_url_3>
|
|
```
|
|
|
|
## Note
|
|
> Upon run, the scraper will first check for updates. If found, users will be prompted to download the updates
|
|
|
|
# Donations
|
|
If you would like to donate, you could Buy A Coffee for the developer using the button below
|
|
|
|
<a href="https://www.buymeacoffee.com/189381184" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
|
|
|
|
Your support will be much appreciated!
|
|
|