Make sure you have Python 3.8+ installed. You can check by opening a terminal/command prompt and typing:
python --version
# or
python3 --version
If you don’t have Python installed, download it from python.org.
Open a terminal in the folder containing the script and run:
pip install google-api-python-client
This will install the required library for accessing the YouTube API.
Use the following command in your terminal:
python yt_pedo_finder_v1.3.py --api-key YOUR_API_KEY CHANNEL_URL
python yt_pedo_finder_v1.3.py --api-key AIza...xyz https://www.youtube.com/@YouTube
--max-depth
– How far the crawler should follow links (default: 2) - for a deep scan, I recommend ~8--max-videos
– How many recent videos to check per channel (default: 5) - I generally use ~10--greedy
– Crawl all linked channels, even if no matches are found - I don't recommend this, more false positives, slower, uses up a lot of your API quotapython yt_pedo_finder_v1.3.py https://www.youtube.com/@SomeChannel \
--api-key YOUR_API_KEY \
--max-depth 8 \
--max-videos 10 \
--greedy
At the end of the crawl, the script will:
python
doesn’t work, try python3
instead.pip
doesn’t work, try pip3
.