final project update
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import http.client
|
||||
|
||||
# The product ID for the Pete-and-Gerry's organic large brown egges is 65902
|
||||
conn = http.client.HTTPSConnection("www.sayweee.com")
|
||||
payload = ''
|
||||
headers = {}
|
||||
conn.request("GET", "/en/product/Pete-and-Gerry-s-Organic-Large-Brown-Eggs/65902?category=dairy02", payload, headers)
|
||||
res = conn.getresponse()
|
||||
data = res.read()
|
||||
print(data.decode("utf-8"))
|
||||
Reference in New Issue
Block a user