Skip to content

Commit

Permalink
Merge pull request #50 from TimNekk/develop
Browse files Browse the repository at this point in the history
Skip remove formatting for ozon
  • Loading branch information
TimNekk authored Sep 5, 2023
2 parents 613ef6e + 49f6851 commit af04bb0
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 3 deletions.
29 changes: 28 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,31 @@
Quantity and price tracker for Ozon and Wildberries *(based on [selenium](https://github.com/SeleniumHQ/selenium)
and [gspread](https://github.com/burnash/gspread))*

![logo](logo.png)
### Ozon

![Ozon](images/ozon.png)

### Wildberries

![Wildberries](images/wildberries.png)


## Usage

Run the app for **Ozon**

```shell
python run.py -oz
```

Or for **Wildberries**

```shell
python run.py -wb
```

Additional options can be shown with

```shell
python run.py -h
```
Binary file added images/ozon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/wildberries.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed logo.png
Binary file not shown.
4 changes: 2 additions & 2 deletions src/sheets/ozon_sheets.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ def set_items(self, items: list[OzonItemPair]):
fbs_prices = list(map(str, fbs_prices))
fbo_prices = list(map(str, fbo_prices))

logger.debug("Removing previous colors...")
self._remove_formatting(f"E3:H{len(urls) + self._top_offset + 1}")
# logger.debug("Removing previous colors...")
# self._remove_formatting(f"E3:H{len(urls) + self._top_offset + 1}")

logger.debug("Inserting data...")
self._sheet.insert_cols([fbs_quantities, fbo_quantities, fbs_prices, fbo_prices],
Expand Down

0 comments on commit af04bb0

Please sign in to comment.