In actuality we get a KeyError where that url was supposed to be stored.Įvidently, Yandex doesn't work in exactly the same way, maybe the url is off (although I tried a heap ton of variations) or the reason may be completely different. So, in short the expected outcome would be a url with an image search. javascript web-extension yandex-images extension. I know the code works cause if you substitute searchUrl with then the script returns the correct url. This web extension enables users to perform reverse image searches on Yandex directly from their browser. The script fails with KeyError, 'location' is not found. Response = requests.post(searchUrl, files=multipart, allow_redirects=False) So, consider this Python code: import requestsįilePath = "C:\\path\\whateverThisIs.png" Yandex in particular is great for busting catfishes, even better than Google Images. I'm interested in automatizing reverse image search.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |