В данном проекте 2 скрипта которые осущиствляют парсинг всех товаров категории 'сухой собачий корм' (section_id=166). Также, можно скачать все товары любой категории изменив 'section_id' в URL в скрипте get_item_ids.py.
- Создать виртуальное пространство
- Загрузить все зависимости в requirements.txt
- Запустить get_item_ids.py
- Запустить get_item_details.py
- Ура! Требуемые данные в файле items.csv.
Хочу подметить что у товаров у которых небыло промо акции, PromoPrice = -1.
Также, хочу сообщить что я начал задание только сегодня, опоздав со сдачей работы, на пару дней. Надеюсь качество решение компенсирует мою задержку.