Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No results returned #27

Open
vasi26ro opened this issue Feb 26, 2021 · 3 comments
Open

No results returned #27

vasi26ro opened this issue Feb 26, 2021 · 3 comments

Comments

@vasi26ro
Copy link

I tried your module today in order to get some data from amazon about some products but any way I tried is not returning anything.

❯ amzsear "blundstone" -r DE
  Title  Prices  Rating 

❯ amzsear "blundstone" -r UK
  Title  Prices  Rating 

❯ amzsear "blundstone" -r UK -i 1
Traceback (most recent call last):
  File "/home/dog/Documents/projects/rotar/amazon-api/amazon-venv/bin/amzsear", line 11, in <module>
    load_entry_point('amzsear==2.0.1', 'console_scripts', 'amzsear')()
  File "/home/dog/Documents/projects/rotar/amazon-api/amazon-venv/lib/python3.8/site-packages/amzsear/cli/cli.py", line 26, in run
    prod = out[args['item']]
  File "/home/dog/Documents/projects/rotar/amazon-api/amazon-venv/lib/python3.8/site-packages/amzsear/core/AmzSear.py", line 113, in __getitem__
    return self.get(key, default=None, raise_error=True)
  File "/home/dog/Documents/projects/rotar/amazon-api/amazon-venv/lib/python3.8/site-packages/amzsear/core/AmzSear.py", line 144, in get
    raise KeyError('The key %s is not a know index' % (repr(key)) ) 
KeyError: "The key '1' is not a know index"

Is there any fix, or I am doing something wrong?

@TonyStew
Copy link

Same issue here. Did you ever fix it or is this repo just too out of date?

@Kugeleis
Copy link

Apparently this is not maintained. Problem persists.

@ctosaincube
Copy link

encountering the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants