From b01e6a675bf416e050c472b2a11666a8fc265370 Mon Sep 17 00:00:00 2001 From: TPV Date: Wed, 15 Jul 2026 21:13:29 -0700 Subject: [PATCH] added edu_price into pricing_info so pricing would show up as edu under samsung channels --- proxies.txt | 11 +++++++++++ samsung_shop/samsung_shop_monitor.py | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 proxies.txt diff --git a/proxies.txt b/proxies.txt new file mode 100644 index 0000000..6711e57 --- /dev/null +++ b/proxies.txt @@ -0,0 +1,11 @@ +v3ispunlimited.hellworld.io:30:26033123vukg4js-country-US-time-30-session-wayekwk9:6pbhpgi7eoeg +v3ispunlimited.hellworld.io:30:26033123vukg4js-country-US-time-30-session-81fnraj7:6pbhpgi7eoeg +v3ispunlimited.hellworld.io:30:26033123vukg4js-country-US-time-30-session-tp9v8r3c:6pbhpgi7eoeg +v3ispunlimited.hellworld.io:30:26033123vukg4js-country-US-time-30-session-13jbes1u:6pbhpgi7eoeg +v3ispunlimited.hellworld.io:30:26033123vukg4js-country-US-time-30-session-dh2w4oce:6pbhpgi7eoeg +v3ispunlimited.hellworld.io:30:26033123vukg4js-country-US-time-30-session-4dbijnps:6pbhpgi7eoeg +v3ispunlimited.hellworld.io:30:26033123vukg4js-country-US-time-30-session-ll4sdjxd:6pbhpgi7eoeg +v3ispunlimited.hellworld.io:30:26033123vukg4js-country-US-time-30-session-h9ilno2y:6pbhpgi7eoeg +v3ispunlimited.hellworld.io:30:26033123vukg4js-country-US-time-30-session-0513pzra:6pbhpgi7eoeg +v3ispunlimited.hellworld.io:30:26033123vukg4js-country-US-time-30-session-n0vzkol3:6pbhpgi7eoeg +v3ispunlimited.hellworld.io:30:26033123vukg4js-country-US-time-30-session-m2ahxif4:6pbhpgi7eoeg \ No newline at end of file diff --git a/samsung_shop/samsung_shop_monitor.py b/samsung_shop/samsung_shop_monitor.py index f738b63..5f09569 100644 --- a/samsung_shop/samsung_shop_monitor.py +++ b/samsung_shop/samsung_shop_monitor.py @@ -133,6 +133,7 @@ async def process_page( def extract_products(response: dict) -> list[Product]: products = [] for current_product in response["searchResults"]: + current_price = current_product["sale_price"] product = Product( product_id=current_product["modelCode"], title=current_product["name"], @@ -142,7 +143,8 @@ def extract_products(response: dict) -> list[Product]: ), pricing=PricingInfo( original_price=current_product["msrp_price"], - current_price=current_product["sale_price"], + current_price=current_price, + edu_price=current_price, ), availability=AvailabilityInfo( available=(current_product["stockFlag"] == "Y")