Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how can I get response from amazon with beautiful soap if I get 503?

headers = {"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0", "Accept-Encoding":"gzip, deflate", "Accept":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "DNT":"1","Connection":"close", "Upgrade-Insecure-Requests":"1"}

res = requests.get(productUrl, headers=headers)
 
PREVIOUS NEXT
Tagged: #I #response #amazon #beautiful #soap #I
ADD COMMENT
Topic
Name
1+3 =