amzpy 0.2.1__tar.gz → 0.2.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amzpy
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: A lightweight Amazon scraper library.
5
5
  Home-page: https://github.com/theonlyanil/amzpy
6
6
  Author: Anil Sardiwal
@@ -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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amzpy
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: A lightweight Amazon scraper library.
5
5
  Home-page: https://github.com/theonlyanil/amzpy
6
6
  Author: Anil Sardiwal
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="amzpy",
5
- version="0.2.1",
5
+ version="0.2.2",
6
6
  description="A lightweight Amazon scraper library.",
7
7
  long_description=open("README.md").read(),
8
8
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes