Hello, I need you to convert my python script to .net core script. (not windows form)
Hello, I need you to convert my python script to .net core script. (not windows form)
It Search and get information of product from amazon using requests and bs4 based on deliver location
it is flask app includes requests. It gets data from amazon product detail pages with given url and deliver location. It is around 500 lines of python script
I do not need any UI or something. I only need code. Because I will entegrate it into my app.
1- It gets web url, country and page url as input parameters.
2- It goes url.
3- It sends post request to change deliver location which is in input
3.1- There is 2 different post request.
3.1.1- For outside USA it sends country code in request.
3.1.1.1- If deliver location is not usa, import fee will be. And estimated tax to be collected will be null.
3.1.2- For USA, it sends zipcode in request.
3.1.2.1- If deliver location is USA, import fee will be null because there will be estimated tax to be collected
4- It search products details in given page range.
5- Mainly, itt gets product details from each ASIN page by given input.
Sending post request (to change deliver location) is necessary because details of products such as price-stock-fee-tax-shipping cost changes based on location
especially shipping cost and fee changes.
For example, an item can be ship to Canada but it cant be ship to Singapore maybe
so stock-availability-price-shipping cost - fee- tax changes based on location