commit 6f2b47a38be338a618cf6b6a7326d48547ef95fd
parent 0f4432ca52571852e1a0e428a22f9cbc0c14c536
Author: Paco Esteban <paco@e1e0.net>
Date: Mon, 15 Mar 2021 20:16:17 +0100
increase limit on octopart responses
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/octopart.py b/octopart.py
@@ -10,7 +10,7 @@ import urllib.request
GET_PARTS_GRAPHQL_QUERY = '''
query MyPartSearch($q: String!, $filters: Map) {
- search(q: $q, filters: $filters, limit: 2) {
+ search(q: $q, filters: $filters, limit: 5) {
total
results {
part {