TheAlgorithms / Python

All Algorithms implemented in Python
https://the-algorithms.com/
MIT License
184.03k stars 44.3k forks source link

Amazon Requests #8164

Closed thomasthaddeus closed 1 year ago

thomasthaddeus commented 1 year ago

Repository commit

222715391-2b3d3a33-d553-481c-8577-56950e913eaf

Python version (python --version)

python 3.9

Dependencies version (pip freeze)

python=3.9 requests not in loader

Expected behavior

I'm not exactly sure other than I loaded it on the website, and this was the default behavior.

Actual behavior

image

watrgoat commented 1 year ago

Have you installed all of the requirements from the requirements.txt file? If you don't know how to do this navigate to you command line inside the file directory where this repo is and type: pip install -r requirements.txt

And which file are you trying to run. From the title I am guessing this is the get_amazon_product_data.py file

And as you aren't sure what the expected behavior is, it seems that it should give you a csv file with all of the amazon product data for the product type searched, which you can change to whatever search you want at the end.

thomasthaddeus commented 1 year ago

this is on the webpage for this repo. Is the try this function not working image

watrgoat commented 1 year ago

I see, it doesn't work for me either. In this case if you want to use the code then I guess just try it out on your own machine until they fix this.

thomasthaddeus commented 1 year ago

Should the issue stay open as a website issue or is there a better way of classifying the bug

watrgoat commented 1 year ago

I think but am not 100% that you should instead add this as an issue to the website repo here And add all of the info that we discussed so they understand the problem better. Also tell them that bs4 isn't install either. The other packages are installed.

thomasthaddeus commented 1 year ago

I quoted everything in this issue and posted it along with the photos on that repo.

I'm going to close it here because I didn't realize the other repo existed.

Closes #8164

Yashdighe commented 1 year ago

Stop it

On Sat, 11 Mar 2023, 11:10 pm watrgoat, @.***> wrote:

Have you installed all of the requirements from the requirements.txt file? If you don't know how to do this navigate to you command line inside the file directory where this repo is and type: pip install -r requirements.txt

And which file are you trying to run. From the title I am guessing this is the get_amazon_product_data.py file

And as you aren't sure what the expected behavior is, it seems that it should give you a csv file with all of the amazon product data for the product type searched, which you can change to whatever search you want at the end.

— Reply to this email directly, view it on GitHub https://github.com/TheAlgorithms/Python/issues/8164#issuecomment-1464959770, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU4K6CWSQ6YLQNSYA75BELTW3S2JVANCNFSM6AAAAAAVOS4B64 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

thomasthaddeus commented 1 year ago

?