/yt-comment-crawler

Project for scrapping comments of a youtube video.

Primary LanguagePython

yt-comments-scrapper (sigma-rules)

Project for scrapping comments of a youtube video.

Python Version used: 3.10.2

Python Development Setup

This part lists all the tutorials, which were used to setup the python developer environment.

  • VS Code- Getting Started

  • Virtual Enviroment Setup

    • Python Docs
    • Command used to install a virtual environment with the chosen python version
      • C:/Users/"USERNAME HERE"/AppData/Local/Programs/Python/Python310/python -m venv ./.venv
      • or, when the correct version of python ist already installed on the host
      • /python -m venv ./.venv
    • venv needs to be activated with this command
      • . .venv/Scripts/activate
    • "terminal.integrated.inheritEnv": false, → needs to be added to the settings.json of vs code. So it doesn't use the Python environment of the current system.
    • Package Management
      • python -m pip install boto3 → install packages
      • pip freeze > requirements.txt → to get a list of all installed packages
      • pip install -r requirements.txt → to install all needed packages
      • python -m pip install pip-autoremove → must have packge
      • python ./comment-crawler/.venv/Scripts/pip_autoremove.py boto3 → to remove a package and all of its dependencies
  • YouTube Data API v3