Roxie Gibson 75afe20922 Script is finished! | 4 yıl önce | |
---|---|---|
.gitignore | 4 yıl önce | |
.pylint.rc | 4 yıl önce | |
.style.yapf | 4 yıl önce | |
Pipfile | 4 yıl önce | |
Pipfile.lock | 4 yıl önce | |
README.md | 4 yıl önce | |
main.py | 4 yıl önce | |
requirements.txt | 4 yıl önce | |
urls.json | 4 yıl önce |
Script to scrape a number of landbot.io chat bot messages. This keeps intact choices, dialogue blocks, and image and youtube links.
Installation requires Python 3.6+, pip, and venv
Also requires Firefox and the Gecko drivers for selenium to interact with Firefox.
git clone REPO_URL
cd landbot_scrape
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements.txt
Add all required urls to scrape to the json file urls.json
To run the script, make sure you are source’d into the virtual env, then run
python3 main.py