This repository will be useful to scrap YouTube comments
-
Create virtual environment: py -m venv env
-
Start virtual environment: .\env\Scripts\activate
-
Run: pip install pipreqs
-
pip install -r requirements.txt
-
Put your google API key inside .env file
-
Run: set FLASK_APP=api.py
-
Run: flask run (This will start flask server on http://127.0.0.1:5000/)
-
Run: npm install
-
Run: npm start (This will start react app on http://localhost:3000/)
-
Enter YouTube video URL in URL field and click on submit
-
Check scraped comments inside python-backend/data directory