amzpy 0.2.1__py3-none-any.whl → 0.2.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
amzpy/parser.py
CHANGED
@@ -67,7 +67,7 @@ def parse_product_page(html_content: str, url: str = None, country_code: str = N
|
|
67
67
|
|
68
68
|
if price_whole:
|
69
69
|
# Get whole number part
|
70
|
-
price_text = price_whole.text.strip().replace(',', '')
|
70
|
+
price_text = price_whole.text.strip('.').replace(',', '')
|
71
71
|
# Add decimal part if available
|
72
72
|
if price_fraction:
|
73
73
|
fraction_text = price_fraction.text.strip()
|
@@ -1,11 +1,11 @@
|
|
1
1
|
amzpy/__init__.py,sha256=iAjHxasVnhFoKHX2SrUs35wPlMJeWjqvb3W7A2_U-0c,587
|
2
|
-
amzpy/parser.py,sha256=
|
2
|
+
amzpy/parser.py,sha256=TT3HCtoZRP9TF7U_GZ6e2NybrYS69F12-cMKxvwMHJg,27956
|
3
3
|
amzpy/scraper.py,sha256=I_bR1WZVwu2IAUM1TyAaEutNiMoBqzhqMpuU0iny6ME,8736
|
4
4
|
amzpy/session.py,sha256=espSB46RNhdmy7bI6wjXVyxOLPEbdRDL1656hPWskX4,9317
|
5
5
|
amzpy/utils.py,sha256=wKPRUk2lypkAjiPVRPhH-lpHqExs1AKP4YyEYQG2HMs,2658
|
6
6
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
tests/test_scraper.py,sha256=XVbRrjM-b8ihuPjx5XezEU5o5twJ7xSBwp1ez28OcKs,582
|
8
|
-
amzpy-0.2.
|
9
|
-
amzpy-0.2.
|
10
|
-
amzpy-0.2.
|
11
|
-
amzpy-0.2.
|
8
|
+
amzpy-0.2.2.dist-info/METADATA,sha256=Imj9m5slmGbN3kklpOxA2fMugOA3eeWlLfapGg1FylU,7637
|
9
|
+
amzpy-0.2.2.dist-info/WHEEL,sha256=wXxTzcEDnjrTwFYjLPcsW_7_XihufBwmpiBeiXNBGEA,91
|
10
|
+
amzpy-0.2.2.dist-info/top_level.txt,sha256=Srr5VxRSsZN9fziW9RLJtXt4o0dXk-b64YMijWr4y4Y,12
|
11
|
+
amzpy-0.2.2.dist-info/RECORD,,
|
File without changes
|