Skip to content

A little bot that search and view some youtube videos.

License

Notifications You must be signed in to change notification settings

Mendelski/MyPBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyPBot

How to execute

  • Create a virtual environment for the dependencies
  • Run requirements.txt inside your env
  • Download browser driver
  • Setup environment variables

I suppose you have already installed python on your system, this code works on both Windows and Linux/Mac


First Step, environment.

On your preference terminal

  • Install package

    pip install virtualenv

  • Create the virtual environment

    virtualenv venv

  • Activate the virtual environment

    Windows: venv\Scripts\activate
    Linux: source venv/bin/activate

Second Step, Setup environment.

Inside your environment

  • Install all dependencies listed on requirements file

    pip install requirements.txt

Third Step, Webdriver.

This is will handle the browser for us

  • Search on Google the webdriver compatible with you personal browser, then download then

    On my case chromedriver 89, https://chromedriver.chromium.org/downloads
    Drivers available: ChromeDriver, GeckoDriver, MS Edge WebDriver.

  • Put the file into this folder

    Windows: venv\Scripts\
    Linux: venv/bin/

Four Step, Setup Environment.

About

A little bot that search and view some youtube videos.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages