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

IndexError: list index out of range #7

Open
OnlyACatOfADifferentCoat opened this issue Aug 10, 2024 · 7 comments
Open

IndexError: list index out of range #7

OnlyACatOfADifferentCoat opened this issue Aug 10, 2024 · 7 comments

Comments

@OnlyACatOfADifferentCoat

Hi, I am wondering if the structure of the output of the Lens request has changed because I am getting:
IndexError: list index out of range on id_2 = py_obj['ds:0']['request'][1][7][0] inside https://github.com/Vorrik/Google-Reverse-Image-Search/blob/master/src/google_img_source_search/image_uploader.py

@Vorrik
Copy link
Owner

Vorrik commented Aug 17, 2024

Hi, fixed

@Allamaris0
Copy link

Hi, fixed

I still have this error.

@Vorrik
Copy link
Owner

Vorrik commented Sep 5, 2024

Could you debug extract_image(upload_response: str) from image_uploader.py and send me "upload_response" string

@Allamaris0
Copy link

response.txt

@Magrgo
Copy link

Magrgo commented Sep 8, 2024

It's a problem with google consent page, I faced it as well in my own google lens scraper, haven't found straightforward solution yet.

@Magrgo
Copy link

Magrgo commented Sep 8, 2024

@Vorrik please take on this consent page problem if possible

@Vorrik
Copy link
Owner

Vorrik commented Sep 8, 2024

@Vorrik please take on this consent page problem if possible

Hm, will check later. Before, I had to use proxy to face the problem and it was fixed for me by this way
https://stackoverflow.com/questions/70560247/bypassing-eu-consent-request (second answer)

image

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