igorsimb / mp-monitor

Django app for scraping Wildberries
1 stars 0 forks source link

Enhance `scrape_item` function with `connect()` and `@retry` decorator #97

Open coderabbitai[bot] opened 5 months ago

coderabbitai[bot] commented 5 months ago

This issue tracks the enhancement suggestion to improve the scrape_item function within main/utils.py by implementing a separate connect() function adorned with a @retry decorator. This change aims to enhance the robustness of the function by handling retries more efficiently.

The suggestion was discussed in the context of pull request #96: https://github.com/igorsimb/mp-monitor/pull/96

Related comment: https://github.com/igorsimb/mp-monitor/pull/96#discussion_r1527489798