项目作者: esemi

项目描述 :
Rondo.cz promocodes bruteforce
高级语言: Python
项目地址: git://github.com/esemi/rondo-promocodes-bruteforce.git
创建时间: 2021-07-03T19:29:08Z
项目社区:https://github.com/esemi/rondo-promocodes-bruteforce

开源协议:

下载


Rondo.cz promocodes brut

wemake-python-styleguide
pytest

install

  1. $ git clone PATH
  2. $ cd shiny-octo-spork
  3. $ python3.9 -m venv venv
  4. $ source venv/bin/activate
  5. $ pip install poetry
  6. $ poetry install
  7. cat > .env << EOF
  8. SESSION_ID="U_PHPSESSID_COOKIE_VALUE_HERE"
  9. EOF

run tests

  1. $ poetry run mypy --ignore-missing-imports app/
  2. $ poetry run flake8 app
  3. $ poetry run pytest -ra -v --cov=app tests

run crawling

  1. $ poetry run python -m app.rondo_crawler --help