mirror of
https://github.com/bellingcat/youtube-comment-scraper.git
synced 2026-06-08 03:28:32 +03:00
Update README.md
This commit is contained in:
29
README.md
29
README.md
@@ -1,42 +1,33 @@
|
||||
# YouTube-Comment-Scraper
|
||||
A script to scrape youtube comments and checks whether a user commented on the given videos
|
||||
Scrape youtube comments and checks whether a user commented on the given videos
|
||||
|
||||
# Installation
|
||||
**1. Clone the project**
|
||||
## PyPI Package
|
||||
```
|
||||
git clone https://github.com/rly0nheart/YouTube-Comment-Scraper.git
|
||||
pip install youtube-comment-scraper
|
||||
```
|
||||
|
||||
**2. Move to YouTube-Comment-Scraper directory**
|
||||
## Docker Image
|
||||
```
|
||||
cd YouTube-Comment-Scraper
|
||||
docker pull rly0nheart/youtube-comment-scraper
|
||||
```
|
||||
|
||||
**3. Install dependencies**
|
||||
## Note
|
||||
```
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
# Usage
|
||||
## PyPi Package
|
||||
```
|
||||
python scraper.py <youtube_video_url_1> <youtube_video_url_2> <youtube_video_url_3>
|
||||
youtube_comment_scraper <video_urls>
|
||||
```
|
||||
|
||||
> *Alternatively, you could grant execution permission to the downloader and run it as shown below*
|
||||
|
||||
**1. Grant execution permission**
|
||||
## Docker Image
|
||||
```
|
||||
chmod +x scraper.py
|
||||
docker run -it rly0nheart/youtube-comment-scraper <video_urls>
|
||||
```
|
||||
|
||||
**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
|
||||
>> The scraper uses [Egbert Bouman's](https://github.com/egbertbouman) [YouTube-Comment-Downloader](https://github.com/egbertbouman/youtube-comment-downloader) to get the comments
|
||||
|
||||
# Donations
|
||||
If you would like to donate, you could Buy A Coffee for the developer using the button below
|
||||
|
||||
Reference in New Issue
Block a user