Skip to content

Commit 5b32a37

Browse files
committed
Removed 10 pages limit and added to changelog
1 parent ea838b1 commit 5b32a37

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ Changelog
7979
-------------
8080
Version 3.2.0
8181
- Added new method for getting browse nodes information.
82+
- Removed the 10 pages limit on search_products and get_variations methods.
8283

8384
Version 3.1.0
8485
- Added paapi5-python-sdk and removed amightygirl.paapi5-python-sdk.

amazon/paapi.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,6 @@ def search_products(self, item_count=10, item_page=1, items_per_page=10, keyword
295295
break
296296
raise AmazonException('ResponseError', e)
297297
item_page += 1
298-
if item_page > 10:
299-
break
300298

301299
if results:
302300
return results
@@ -382,8 +380,6 @@ def get_variations(self, asin, item_count=10, item_page=1, items_per_page=10, co
382380
except Exception as e:
383381
raise AmazonException('ResponseError', e)
384382
item_page += 1
385-
if item_page > 10:
386-
break
387383

388384
if results:
389385
return results

0 commit comments

Comments
 (0)