Please give a look at automation page.
- to properly dispatch the profile, you should copy an un-initialized user-data-dir (please refer to the option --user-data-dir from chromium. On Firefox looks way too hard to use it).
- we build an user-data-dir which is partially initialized: has settings that reduce the interaction with Google, have the browser extension installed but is not initialized yet (it generated the cryptographic material the first time it access to youtube.com)
- The uninitialized-user-data-dir, or direct 16.9 download, is there linked, and should be decompressed in
profiles
, then renamed with your campaing name.
pip3 install -U selenium
platform dependent:
apt search chromedriver
apt install firefox-geckodriver chromium-chromedriver
If you want to run a collection campaign, the exact order of command is:
- have a copy from
profiles/unitinizalized-udd
toprofiles/thetestname
- have a file full or youtube URLs in:
config/thetestname.txt
, look for example atconfig/example.txt
- execute
python3 bin/experiment1.py config/thetestname.txt
, this NEEDS to find a directory inprofiles/thetestname
, otherwise will display and error.