sudo apt install xvfb
pip3 install pipenv
pip3 install --upgrade keyring.alt
pipenv install
pipenv shell
add setting for visual code
add .vscode/setting.json:
{
"python.pythonPath": "<Path to venv>",
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/.pyc": true,
"**/__pycache": true
}
}
python crawler.py