kensvin commited on
Commit
2c3a533
1 Parent(s): dae36ce

revert url change

Browse files
Files changed (1) hide show
  1. tokopedia.py +2 -2
tokopedia.py CHANGED
@@ -1,7 +1,7 @@
1
  import requests
2
 
3
  def request_product_id(shop_domain, product_key):
4
- endpoint = "http://gql.tokopedia.com/graphql/PDPGetLayoutQuery"
5
  payload = {
6
  "operationName": "PDPGetLayoutQuery",
7
  "variables": {
@@ -53,7 +53,7 @@ def request_product_id(shop_domain, product_key):
53
 
54
 
55
  def request_product_review(product_id, page=1, limit=20):
56
- ENDPOINT = "http://gql.tokopedia.com/graphql/productReviewList"
57
  payload = {
58
  "operationName": "productReviewList",
59
  "variables": {
 
1
  import requests
2
 
3
  def request_product_id(shop_domain, product_key):
4
+ endpoint = "https://gql.tokopedia.com/graphql/PDPGetLayoutQuery"
5
  payload = {
6
  "operationName": "PDPGetLayoutQuery",
7
  "variables": {
 
53
 
54
 
55
  def request_product_review(product_id, page=1, limit=20):
56
+ ENDPOINT = "https://gql.tokopedia.com/graphql/productReviewList"
57
  payload = {
58
  "operationName": "productReviewList",
59
  "variables": {