Little Youtube scrapper made in Python with BeautifulSoup.
Takes a JSON file containing Youtube videos id in input.
Takes the name of the output file containing the scrapped data as a second parameter.
pip install --upgrade pip
pip install -r requirements.txt
The script is made to run in the terminal, so you need to run it with the command:
python3 scrapper.py --input input.json --output output.json
The tests are made with pytest, so you need to run it with the command:
python -m pytest tests/
The code coverage is made with pytest-cov, so you need to run it with the command:
pytest --cov=. tests/