Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
Roxie Gibson 75afe20922
Script is finished!
4 lat temu
.gitignore accidently commited log files too 4 lat temu
.pylint.rc Initial Commit 4 lat temu
.style.yapf Initial Commit 4 lat temu
Pipfile Initial Commit 4 lat temu
Pipfile.lock Initial Commit 4 lat temu
README.md Script is finished! 4 lat temu
main.py Script is finished! 4 lat temu
requirements.txt Initial Commit 4 lat temu
urls.json Script is finished! 4 lat temu

README.md

Landbot.io scraper

Script to scrape a number of landbot.io chat bot messages. This keeps intact choices, dialogue blocks, and image and youtube links.

Installation

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

Running

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