diff --git a/backend/analyze_bag.py b/backend/analyze_bag.py new file mode 100644 index 0000000..e57e266 --- /dev/null +++ b/backend/analyze_bag.py @@ -0,0 +1,16 @@ +# -*- coding: utf-8 -*- +import sys; sys.path.insert(0, '.'); import wholesale_path +from wholesale import SooinSession + +s = SooinSession() +s.login() + +# Bag.asp HTML 가져오기 +resp = s.session.get(f'{s.BAG_VIEW_URL}?currVenCd={s.vendor_code}', timeout=15) + +# 파일로 저장 +with open('bag_page.html', 'w', encoding='utf-8') as f: + f.write(resp.text) + +print('bag_page.html 저장됨') +print(f'응답 길이: {len(resp.text)}') diff --git a/backend/bag_page.html b/backend/bag_page.html index 5672a01..6c9f734 100644 --- a/backend/bag_page.html +++ b/backend/bag_page.html @@ -99,63 +99,7 @@
- -