A small command-line utility that will search YouTube videos by keyword and the result would be written in an Excel file.
composer
php (>=8.2)
The application will now work if register_argc_argv is disabled.
-
All the
code
required to get started -
Clone this repo to your local machine using
$ git clone https://github.com/tarique-iqbal/youtube-video-search.git
- Need write permission to following
directories
./var/data
./var/logs
- Install the script
$ cd /path/to/base/directory
$ composer install --no-dev
Adapt config/parameters.php
- Run the script
$ php index.php keyword
or
$ php index.php 'Search keyword'
- Output file location
./var/data
- Follow the Installation instructions.
Adapt phpunit.xml.dist
PHP Constant according to your setup environment.
$ cd /path/to/base/directory
$ composer update
$ ./vendor/bin/phpunit tests
Test-cases, test unit and integration tests.