Skip to content

Instantly share code, notes, and snippets.

View sku_detail.md

sku detail

curl -H 'Host: bi-mall.meituan.com' -H 'Content-Type: multipart/form-data' -H 'mp-mtgsig: {"a1":"1.0","a2":1622478227262,"a3":"y965678w73x25u2w11uwz4zzvu2w9438820x66y1uw888988z2494x8w","a4":"0aaca5c74971a55163c62e86258f1d2d056779e8d83b0874","a5":"mBiBlk1hs76eOcqXiW9wPRbrRq1Vs65ldGzvo1CXiYNBmPLCmNbAssMQy6x05SbZvJwJrcnWsSIjCN+7+9K1LdZb9lVRJ9h3tNRosiazT32tzTRtH0WFEWRHU0RpTb7ewhktlks2XBOzkjaU9GhC2Kl+i8SjIgxRiBfIG5ic9+0eKcXEkEg9bycssQy1owk9VHFWlEh1zk8PNdwKDF6n6xWu7pPBDj4E+0hYCmVlGr1EX0lXr01BiSHOUJfwBm/mnifm+aqnXiSfE2DP8+dcqrFolIYC+fVyfuniaL455Yh9OnDnYQQQocKnq1UxeA0VqczmlG6WG9gzSlBIEvHKHNnFL8fWsktE","a6":"w1.0+9bOR0onJC+HEk8BgfTutdd05UhoChHsObf+UHZDXjRvDtxxN2DxDZiKCtTHhyH5lwMRspQcN9vclI9bJjvj7OyHP0vfGZUCbJNhhNuSUsSxsIucY1duT9IsDdzBDtWLS6iBj6OL/POG+lHA0+nPZZjrBelGiZ+Ey51S8IFErBvFCrmpVJ3JqRb0uTEKWprfDUW2DxE6VpuGcvVvJBmKhSAKZbwTGsOVpaer7puJMas1pNAmNnSCNA2HOLTciQJIe2iIF7JN67hNkcRE+8GtjwmvC5T3wf6f5Fzf359zkPf+2sxWaZqrzGX48iBSnZ+SBw1rbB80CV6RnxTWMkWrt8Ryd2KnsHKiVYXk43+zklkZb41bRwroNOyks5sX8VIB6ZGt0b4fHrXhj
View SKU related items.md
View guesslike.md

https://bi-mall.meituan.com/api/c/poi/143147528661317/sku/guesslike/v3

curl -H 'Host: bi-mall.meituan.com' -H 'Content-Type: application/json' -H 'mp-mtgsig: {"a1":"1.0","a2":1622478552137,"a3":"y965678w73x25u2w11uwz4zzvu2w9438820x66y1uw888988z2494x8w","a4":"92e62a1cc993dbb7be6fbcf149c41b46e3708eb733a00e11","a5":"pLjPO5+njxJecKlQWHVpc9s0PXPrURuTca1X4NpstAXtAyuOK8Yq52HJ1FaEHg6I3TFYLZMN8r8WULYVSK+kq7RbFmJb4053aCxgYqQICx3RnD7p93mjkB4W1EQdyTtSSFoKOxoJsKvraWhdQa4Cv7Elcq4os408IWkn/nWNg/WxRMh8v12Um7kUd0QZWBEqG6nSDhJW51wfyxNA+HGzuyNNs7QSsbPwtl1CjGxkXXWAdaz2i1K1WkhullFrnrbGfCr4YVwUFPIH8rbXDEh=","a6":"w1.0RTkyWuj1tcQ1cgYV+mPN3v11Lj7L3DWLFmPca+CT41ya4qRTRvEA1TtZTC6uxYrNhxNsfvDwrlFC2+QOeX4zbywAreGZafLlU4q/OQZJXIX5++ycOcaznoaLjh5/4MbSj/fJJfjdDik3cc0UBCyHZYWwcKf7Es7kuZDrUksh4/uOzRLXawkb00GTX+oSBDR/+/f2/mDC83XN1ygrUxy/4MV9SLObORpLEwSCN5Wf+S7RvaxeSYrkN+GkCRYi1AS1VNm0nWXkPI2aD2GXEvLDuR+FrmP7WVMMB3Qk+7fFI1LYWPGP7QTVT+1yLPDe+7Vjtqkke8R5q2e53uzxnSM9C2tGcKb4YlDteIISLCOkTfC0PR72cvIqLnuCna7qNZXulYzuoc6NTeEwp9dFmaXjvqysk2DuF90d
View available_cities.md
curl -H 'Host: bi-mall.meituan.com' -H 'Content-Type: multipart/form-data' -H 'mp-mtgsig: {"a1":"1.0","a2":1622478543769,"a3":"y965678w73x25u2w11uwz4zzvu2w9438820x66y1uw888988z2494x8w","a4":"6fb21d2bfa40c57db1ac3b68e32d4d0e0a0a456f8bf2b547","a5":"J27DbChW6zKec418IPYaj0au3v/7TJjDaNDT/4xaGthSvok/2W7whZXw3m/UNIRgWQxjmB5IlC5dg1hZoyq0bVEgIkB7G/8sVaawkRswMvgtUSo4/fwNrcOqW0w2wRihGKb2e9D4BcpjSVUkX36dzMmDFqbmICJgGpaS1dJm2Tc0NumAvQSWarxTEWMAik7nzWD3g3QRY9/z78i6u/oVGFghzgfF3BUneZxLhoMvufJQO55SftsZOQBAv/SLT1hKLLah2A4DJ6K3iP+dRbUwREnv+phQc1peeioMRnKYQAYo7nagMUGdiEiF2zW=","a6":"w1.0GYc7hNLhPCy4plhANlnuHJglOAE6Omp8K04Le6XKATmpIFuN6ZDfBg1m9QqYZzVUbrnPf5I0OWSNQlTgcF1vc4VSulnFfMZhaErH3GNAEoPAayVR7xjNkh4bBspVbZ8Js99NyVJOoovLnpYSvF4QllUZy6jau886TF8MwDCZXXWh5c0+avgld80/vovtWYyXCO9A/Q7veHP36VrgTXgP9CkXQ2wEEpGJHVx3aJRhyfVkYthSW7IkC6TnFvOxWsl4epuZLaEGXHUra87rdbZ4GEbctZuYD6ZucdRopBpgm6YZphkewEEwD/uReoVF67Ydf+TgZ7Apd5KLVxJngjxDWjiP8ybk4JsGwxJJJVNhImu9n1EWya3yLUCstXKjRmHcfYgixjQn3jjplWeloedcawuokZgOJeF8jzZIl50Q+JdI/x3de+O8rIfAkV7
View search.md

search

curl -H 'Host: bi-mall.meituan.com' -H 'Content-Type: application/json' -H 'mp-mtgsig: {"a1":"1.0","a2":1622478548464,"a3":"y965678w73x25u2w11uwz4zzvu2w9438820x66y1uw888988z2494x8w","a4":"898d6deb33623590d6fac5eb43b2160a576253e03dbbceb2","a5":"0YfMhKnFPEvec27Iclya8FoxMfERsJYrHXYYC8SfQprvKJN11PzrMNL5U5ojdPZj7EGYmDZ6DD9a8/qm78oQfbhW8AiVbVzT/Bd8yTA0rXrYNcaVLYcX949W6/1atZ3lLxIO+GFPTE3e9cINiCnn6Fi2XaqI8zGRhOoxy9iOG/B9KcBqNVqY9ZXhJl2Wzo4TOdNGxgoFNCKpKyWwYlgHbSuDs3qqXzmDh7uSf0R/SEsVSiP0V39+KcoTFQgLsLUeaSZbwJa41lVKZXcIwRh=","a6":"w1.0RTkyWuj1tcQ1cgYV+mPN3v11Lj7L3DWLFmPca+CT41ya4qRTRvEA1TtZTC6uxYrNhxNsfvDwrlFC2+QOeX4zbywAreGZafLlU4q/OQZJXIX5++ycOcaznoaLjh5/4MbSj/fJJfjdDik3cc0UBCyHZYWwcKf7Es7kuZDrUksh4/uOzRLXawkb00GTX+oSBDR/+/f2/mDC83XN1ygrUxy/4MV9SLObORpLEwSCN5Wf+S7RvaxeSYrkN+GkCRYi1AS1VNm0nWXkPI2aD2GXEvLDuR+FrmP7WVMMB3Qk+7fFI1LYWPGP7QTVT+1yLPDe+7Vjtqkke8R5q2e53uzxnSM9C2tGcKb4YlDteIISLCOkTfC0PR72cvIqLnuCna7qNZXulYzuoc6NTeEwp9dFmaXjvqysk2DuF90da84nzyogVp2ol3UYYmnstTsG5rakGBhPdz3EA/N6hj86AKUNkBhkABCxhQ35mSE
View new_user_promotion.md

https://bi-mall.meituan.com/api/c/homepage/special/area/poi/143147528661317/new-customer-area/youxuan

curl -H 'Host: bi-mall.meituan.com' -H 'Content-Type: multipart/form-data' -H 'mp-mtgsig: {"a1":"1.0","a2":1622478262998,"a3":"y965678w73x25u2w11uwz4zzvu2w9438820x66y1uw888988z2494x8w","a4":"339afeea04036b6349a640786a624f61cb0e05b93adc5d24","a5":"Fsl778Q06fveO8NnZ0X0V9amntV0YugK3IlfDa3uY+0Vd+8Dbn+DrvnlvEVHwc3mHkkfs/wbSivQXAv95A/tODDKThUQxNby+fsjZDKTbcMhiG32VJ7Q/4ts0QQlVTUbvQfcOb3CQXcqelmmMcXPQhLl5Br5np61WN6JEvA2Gvd3edfT8PCWoueOT3JRBsc0Ja8xkWEDSv7o0jD5GbQCsyxtZWtkghzKKsgFgIb5+C9bME4OvfBtpHCzu9HjAhAPtyNZTrIiIEGI+kblwv9J5MTgbq1yBlgz1MhSAstYVMkJrTI9YkT6MKwvU9BYd0jh2juMvrqpi8GzCyYgeRYCC9qRfqk1X1Yo","a6":"w1.0v/MGpxN4G+U3DrGld8opbCKEibP5CUWxnM3Aj6K3FhcARaZFdp9joXg9DYhB+XB4fzsXj8BiarAtl3StOxLn8Rc7CPAVDM7rcGWfA6YzknoaVt6qkwDDiVZnf0R7tOctKGEJwT7DCwwFgxBdKkqSkJu60Es/IGZwKyG8s0HRsLhRwUiLrd2X+2hLnNhCxJoPX1yw+gXSfDtz5oqQZlhUpUqEvBDvJP0vaX+T2SFTmWUndes5nccYvOZCW8tv0Z8eiZ6DpqDJkDdwoPgqSzvZmEz2t8b3MbL8Pq9cirPOyyRj060e
View aggregation.md

https://bi-mall.meituan.com/api/c/homepage/aggregation/includelocation

curl -H 'Host: bi-mall.meituan.com' -H 'Content-Type: multipart/form-data' -H 'mp-mtgsig: {"a1":"1.0","a2":1622478480201,"a3":"y965678w73x25u2w11uwz4zzvu2w9438820x66y1uw888988z2494x8w","a4":"83f6c80c548e5cf2ef8e7adb29172948d4aa0a8e5dbf1680","a5":"c5uxPiLWMZ5ecw+QH3VfLLw9Kh4iZZSn0PCk9VdDo301Fzn7kM3NSJi1/eKnrLK6GheNi6ZjyVt+OGADWzAyavJQKqyOQjWrzXOlnDBjeyice8TAEXJEAFhyHGyPE5Z4GVMvAUI85dnARrmxmHYtXzw1nXJr6X1pROmDU7+gF/+NXvgF5kJvzj0ljK0oRB4QnS7uKQ1hoJVM0kVPL5kpBhO/Ag+ywzyq2Iu0CbANJl2FhqBz5kv08EvTgz1ve5SXVtJDjBuNHWlzBpRrRRZ=","a6":"w1.0K29CM4nEy1pt5c3U3NN91WglgY/2K3WF4y1zzttagCLdEvb3UCSk1NaSInbwH7fyToOn24p5oHNYweS+ktkvFMa6NfB+SfpktcqY1Cdm+9mJ26MecDh1t/GA+sR08dn75gf5XY9UYG/PUvGGBgYEAQM15ep9nrd58K9ffbvLA6fdeow47scGu7nu6BeU8NqAUnLdemRs94aoPneSAtFqcroC2xOnm81CD96pzLKZA+poQmCc5aTYgEaB7PY0uBsFabXyP3xkFq11TiZ9EYWtG/bdZPv9Jke+AoHw4MzM4lCt5+eNsprDUqc2OwKQTuNOKo+m4TvMzPA+rQ/KAiAFi0uBLUBf9zpspqI4xlkjzw+ymSMiCadbhL9pIoAvOszGdf3gq3ggfsfg0I+HDQUHFSeu6uG0t
View tmp.py
import re
normal_regex = '[$|£]\s*\S+\s*(?:million)?'
def tmp(b):
# ['$910,0001955 ', '$350,000 ']
normal = re.findall(normal_regex, b)
return normal
def cal_average_budget(budget_list):
View landingpage.js
/*
curl -H 'Host: mall.xsyxsc.com' -H 'accept: application/json, text/plain, */*' -H 'content-type: application/json' -H 'origin: https://image.xsyxsc.com' -H 'referer: https://image.xsyxsc.com/item/cms/activityLandingPage/release/20210521/2021052114143131669-1.html?pageCode=2021052114143131669&storeId=66880000772786&storeName=%E5%85%B4%E7%9B%9B%E4%BC%98%E9%80%89%E7%81%BC%E7%8E%89%E5%BA%97&cityCode=3502&areaCode=350203&provinceCode=35&channelUse=WXAPP&saleRegionCode=112&isReport=true&userKey=&v=1.2&isIphoneX=false&t=1621610989604' -H 'userkey: ' -H 'accept-language: en-us' -H 'user-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 14_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/7.0.14(0x17000e2e) NetType/WIFI Language/en miniProgram' --data-binary '{"windowName":"十点爆款","areaId":"112","storeId":"66880000772786","includeStoreGroup":true}' --compressed 'https://mall.xsyxsc.com/cms/queryLandingPageProduct'
*/
{
"success": true,
"data": [{
"cmsIndexProductDto": {
"prId": 8
@thisiswei
thisiswei / storesnearby.js
Last active May 21, 2021
storesnearby.js
View storesnearby.js
/*
curl -H 'Host: mall-store.xsyxsc.com' -H 'accept: application/json, text/plain, */*' -H 'content-type: application/x-www-form-urlencoded' -H 'accept-language: en-us' -H 'user-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 14_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/7.0.14(0x17000e2e) NetType/WIFI Language/en' -H 'referer: https://servicewechat.com/wx6025c5470c3cb50c/312/page-frame.html' --data-binary "mapX=114.047012&mapY=22.696412" --compressed 'https://mall-store.xsyxsc.com/mall-store/store/getNearStoreList'
*/
{
"rspCode":"success",
"rspDesc":"",
"data":[
{
"storeId":66880000649923,