2020-12-02 07:00:22 +02:00
2020-12-02 00:04:52 +02:00
2020-12-02 07:00:22 +02:00

Shufersal basic scraping

Installation

clone:

git clone https://github.cs.huji.ac.il/danieljannai/cryptocurrencies-project
cd cryptocurrencies-project
virtualenv venv
venv\bin\activate
pip install -r requirements.txt

Simulator

This app simulates a bitcoin network with many transactions resulting in a bloated blockchain. When the --evil flag is enabled, one of the nodes will commence an attack on some of the blocks, resulting in a lower fee rate in spite of the blockchain being full.

Dependencies

  1. python (3.7+)
  2. virtualenv

Usage

First, to find your store's id, you can run the following command (assuming you live in Jerusalem):

python main.py --find_store ירושלים

After running the command, you'll be able to see the different stores in Jerusalem with their ids in "stores_ירושלים.log".

Now, that we have the store's id, we can get its promotions sorted by their update date by running:

python main.py --promos 5
  • We assumed that the store's id is 5. Now, you can find the promos in promos_5.log.

For other documentation and commands, you can run

python main.py --h

Good luck!

Description
string
Readme 131 KiB
Languages
Python 100%