Skip to content

Instantly share code, notes, and snippets.

@anharusp
Created March 15, 2020 20:33
Show Gist options
  • Select an option

  • Save anharusp/22fa918e251b16c4ef6b96beb433f1bf to your computer and use it in GitHub Desktop.

Select an option

Save anharusp/22fa918e251b16c4ef6b96beb433f1bf to your computer and use it in GitHub Desktop.

Revisions

  1. anharusp created this gist Mar 15, 2020.
    43 changes: 43 additions & 0 deletions gistfile45_Anna.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,43 @@
    POST /goapi/v2/catalog/graphql/products/ HTTP/1.1
    Host: www.lamoda.ru
    User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
    Accept: application/json, text/plain, */*
    Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
    Accept-Encoding: gzip, deflate
    Referer: https://www.lamoda.ru/p/he002emirmc3/clothes-hebymango-kurtka-kozhanaya/
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 820
    Connection: close
    Cookie: sid=NDZhYTEwNWYxNTI2MzUzZGFhY2M0NmNiNzA5ZDk5MmE=|1584304352|714f1d3b1b951a8498efc43ebb8f581a90a27211; lid=ZEADnl5ukJOdwCY5JH8EAgA=; modern_es=1; csrftoken=x1O1JJwTUNKdhHpNSr5yN7mqom1G1HPP; LMDA=autoGender=m:headerLastGender=men:is_lme=true; gd_aoid=7700000000000; _gcl_au=1.1.806277264.1584304278; wt_cdbeid=1; wt3_eid=%3B717012440280310%7C2158430427862282909%232158430435255133372; wt3_sid=%3B717012440280310; wt_rla=717012440280310%2C4%2C1584304278253; _dy_csc_ses=t; _dy_ses_load_seq=95273%3A1584304352174; _dy_c_exps=204290%7C7765091%3A%3A0%3A1584304280784%3A95273%3A95273%3A1%3A0%3A0.907237260369584%7C8662716%3A4452080%7C0%7C95273%3A1584304352615; _dy_soct=468397.848429.1584304280*432647.803345.1584304352*447752.844681.1584304352*157448.223326.1584304352*139646.196064.1584304352; _ga=GA1.2.331730194.1584304280; _gid=GA1.2.778879641.1584304280; tmr_reqNum=11; tmr_lvid=6ac896589a771324d3ca505c10f75891; tmr_lvidTS=1584304280145; _ym_uid=1584304280292251190; _ym_d=1584304280; _dycnst=dg; flocktory-uuid=d68bcadc-94a9-4582-959b-ea99c01e7c27-1; _dyid=-8998191852038576156; _dyfs=1584304338108; _dyjsession=d1d60eb2940003f8f460703841513106; _dycst=dk.l.f.ss.; _dy_geo=RU.EU.RU_MOW.RU_MOW_Moscow; _dy_df_geo=Russia..Moscow; _dy_toffset=-1; _ym_isad=2; is_synced=true; cto_bundle=Z0VsQ19SVGFkcnIxdjclMkJlU0h3UlVBJTJGQmlZT1Y4a2VibjNvOVZFbUo5aThKck5jSnhISGlObnRJdllIbmIwR1VvbEgwd3I1UDJTZklpblBoaU5odVN6VGhCZ2thVVJieWElMkJleFIlMkZSYUpQcGRINUJuakVhakJkeHZCQ0EwcEpkSVpTc2tGdm1IQ0RSTVJ5UXNXb2cyTG11RmQ5bndIYkk4UnFlY21aaHp5SUxmOHM4a1N2QkVXUmFJVURuU3dIMEllV3FuQQ; tmr_detect=0%7C1584304342088; _fbp=fb.1.1584304284138.1957562281; _dy_c_att_exps=; wt_geid=815816010850033341033410

    query {
    products(
    skus: ["SE392EMHJCU1","GI038EMHOQO3","GI038EMHOQO0","HE002EMIUWV8","HE002EMIUXK6","MP002XM1RMM3","HE002EMIUYJ3","MP002XM1RMLW","MP002XM1RMM5","HE002EMIRMD3","GI047EMIEUI8","SE392EMHTWK0","GI038EMHOQN6","PE299EMHKKA0","MU454EMIARM6","AR037EMHOTH5","GI047EMIEUI7","DE043EMHOQM8","DE043EMHOQN1","ON013EMHJCH8","AL047EMIBLY9","MP002XM1RMLS","GI047EMIEUI2","SE392EMHJCU3"],
    include_not_sellable: false,
    keep_order: true,
    ) {
    attribute_model_name
    brand_name
    discount
    is_available
    is_sellable
    name
    old_price_amount
    price_amount
    rollover
    seo_tail
    sku
    stock_remains
    subset_id
    thumbnail
    sizes {
    brand_size
    brand_size_id
    full_sku
    is_available
    size
    size_id
    stock_remains
    }
    }
    }