Crap, books

master
Nick Sergeant 2012-07-08 15:06:09 -04:00
parent 84ce636cfd
commit dea0c333a4
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ def amazon_search(request):
products = []
if request.GET.get('q'):
amazon = AmazonAPI('AKIAJJRRQPTSPKB7GYOA', 'DIYz2g5vPjcWE4/YI7wEuUVAskwJxs2llFvGyI1a', 'snipt-20')
products = amazon.search_n(5, Keywords=request.GET.get('q'), SearchIndex='All')
products = amazon.search_n(5, Keywords=request.GET.get('q'), SearchIndex='Books')
result = []
for product in products: