抓包分析以下,有一个关键参数_token

我们查看下调用流程,点击Initiator

从上图我们看到了我们抓包的接口,点进去继续分析。

点进去之后我们直接定位到了_token 关键字,可以看出_token == d ;

d = window.Rohr_Opt.reload(p)  ;

reload 匿名函数中的一个方法

接下来就是扣代码,其实也不是很难。拿下生成_token的代码之后就可以获取相关数据了,比如获取店铺列表,店铺详情数据等。

店铺列表json格式如下:

{"status":0,"data":{"totalCounts":608,"poiInfos":[{"poiId":714716856,"frontImg":"https://img.meituan.net/msmerchant/e3a95d4b1996a406dcb0eeaa16c45b16353645.jpg@600w_600h_1l","title":"溢香干锅鸭头","avgScore":0,"allCommentNum":1,"address":"铁东区鑫荣小区","avgPrice":40,"dealList":[{"title":"六人套餐,包间免费","price":138,"soldCounts":0},{"title":"超值双人餐,包间免费","price":59,"soldCounts":23},{"title":"精品四人餐,包间免费","price":88,"soldCounts":1}],"hasAds":true,"adsClickUrl":"https://mlog.dianping.com/api/cpv/billing?mbid=1.61&productid=74&display_id=50028&bg=0&pctr=0.018806987147752807&ad_cj=89pUlt4A91yW5hlpSI9sniPeYJhsMO3FKlfYxYbPb9SDcbQZn482aMPiguk8Ffl2Pqx2IXXsBjppsDdJ7Ew3Iv338gIMCEKQbNMLyHUHzXRmVRP2VGT-Z-mqPIme7vBECtjIgx36Skw_mPgNKA&ad_ci=89pUnt8Q-xXetAF9EIBkgHKCI8QyZsLeJwmKyYPWa9qDcbEMydVzMYWt2rwyBLwje_olbR-zRGUy5DxL8EM0PKng5gY9EluqOIYAz3AEzXNmVBnhFzqgJOevNI-Y4vBECdjIgx2sEB4zmPEJJQ&discount=1&mtlaunch_city_id=162&bu=28&category_id=102&pos=1&mtuser_id64=0&pcvr=0.009749486652977415&client_version=6.5.1&mtdpid=4c0f6c3e58c74aaab8df.1619791167.1.0.0&bottomprice=1.0&user_agent=pc&launch_city_id=0&mtcategory_ids=1&sver=2&AdExpPath=18-338-2099,3-56-112,3-169-830,3-140-565,3-50-100,3-164-792,3-227-1297,3-12-28,18-293-1778,3-201-1096,3-296-1803&bottomfen=100&mtuser_id=0&adsCtrStrategy=SearchPcSearchBaseline&page_city_id=0&entityplat=2&ad_v=2&mtadshop_id=714716856&mtpage_city_id=162&adidx=16&act=2&gather_index=1&item_index=-999","adsShowUrl":"https://mlog.dianping.com/api/cpv/action?mbid=1.61&productid=74&display_id=50028&bg=0&pctr=0.018806987147752807&ad_cj=89pUlt4A91yW5hlpSI9sniPeYJhsMO3FKlfYxYbPb9SDcbQZn482aMPiguk8Ffl2Pqx2IXXsBjppsDdJ7Ew3Iv338gIMCEKQbNMLyHUHzXRmVRP2VGT-Z-mqPIme7vBECtjIgx36Skw_mPgNKA&ad_ci=89pUnt8Q-xXetAF9EIBkgHKCI8QyZsLeJwmKyYPWa9qDcbEMydVzMYWt2rwyBLwje_olbR-zRGUy5DxL8EM0PKng5gY9EluqOIYAz3AEzXNmVBnhFzqgJOevNI-Y4vBECdjIgx2sEB4zmPEJJQ&discount=1&mtlaunch_city_id=162&bu=28&category_id=102&pos=1&mtuser_id64=0&pcvr=0.009749486652977415&client_version=6.5.1&mtdpid=4c0f6c3e58c74aaab8df.1619791167.1.0.0&bottomprice=1.0&user_agent=pc&launch_city_id=0&mtcategory_ids=1&sver=2&AdExpPath=18-338-2099,3-56-112,3-169-830,3-140-565,3-50-100,3-164-792,3-227-1297,3-12-28,18-293-1778,3-201-1096,3-296-1803&bottomfen=100&mtuser_id=0&adsCtrStrategy=SearchPcSearchBaseline&page_city_id=0&entityplat=2&ad_v=2&mtadshop_id=714716856&mtpage_city_id=162&adidx=16&act=3&gather_index=1&item_index=-999"},{"poiId":860074795,"frontImg":"https://img.meituan.net/600.600/msmerchant/c54d54cdd696e3e834001e127d026997131961.jpg","title":"筷乐喜辣屋","avgScore":5,"allCommentNum":222,"address":"铁东区四平万达广场","avgPrice":33,"dealList":[{"title":"豪华四人餐,提供免费WiFi","price":76,"soldCounts":281},{"title":"优惠双人餐,包间免费","price":39,"soldCounts":1007},{"title":"50元代金券1张,可叠加","price":45,"soldCounts":127},{"title":"优惠单人餐,提供免费WiFi","price":25,"soldCounts":471}],"hasAds":false,"adsClickUrl":"","adsShowUrl":""},{"poiId":97030594,"frontImg":"https://img.meituan.net/600.600/msmerchant/ee2ed7a493756431e7b341debfd0bd95101109.jpg","title":"熊喵来了火锅(万达店)","avgScore":5,"allCommentNum":5864,"address":"铁东区南九经街万达广场三楼","avgPrice":50,"dealList":[{"title":"100元代金券1张,全场通用","price":89,"soldCounts":722},{"title":"小酥肉1份,提供免费WiFi","price":19.9,"soldCounts":2941},{"title":"尊享双人餐,提供免费WiFi","price":139,"soldCounts":1875},{"title":"豪华四人餐,提供免费WiFi","price":219,"soldCounts":1143},{"title":"❤豪华二人餐❤,提供免费WiFi","price":119,"soldCounts":5242},{"title":"❤二人餐❤,提供免费WiFi","price":99,"soldCounts":5404}],"hasAds":false,"adsClickUrl":"","adsShowUrl":""},{"poiId":1552782320,"frontImg":"https://img.meituan.net/msmerchant/fb45993d217657d48e2f7ea7fb8e2732250168.jpg@600w_600h_1l","title":"马路边边串串香(铁西店)","avgScore":4.9,"allCommentNum":114,"address":"铁西区紫气大路华宇城北门西行150米","avgPrice":60,"dealList":[{"title":"超值串串香2人餐,包间免费","price":89,"soldCounts":894},{"title":"100元代金券1张,可叠加","price":88,"soldCounts":676},{"title":"❤特色冒宽粉1份,包间免费","price":1.99,"soldCounts":364}],"hasAds":true,"adsClickUrl":"https://mlog.dianping.com/api/cpv/billing?mbid=1.0&productid=74&display_id=50028&bg=0&pctr=0.03110500512618897&ad_cj=6szyLVEJIqPvj8WMprQoBO7P4P8Y93TMOCUcFLoWyuDXz97bT4r_tBlOdV3QFOfgUU1fxNa0OEt-ZWAFnWIk-mz14pXM2_hk4WoYg1tb_vbJwQQ4jjAD3M_9t6XQe0XrOJ1ZzCuDu2W7gg9Djpw&ad_ci=6szyJVAZLuqn3d2Y_rsgFLyZo6ZOoVvXNXtIHL4Kzf6RnZ6MDJvOqRQHPgSFEe_tVE5OjoH2XhI1YjRQlmE6_3-ztdCLmPh80XdBi15e-vvckFhD7UMM3siosarXekI&discount=1&mtlaunch_city_id=162&bu=28&category_id=110&pos=1&mtuser_id64=0&pcvr=0.006906593406593407&client_version=6.5.1&mtdpid=4c0f6c3e58c74aaab8df.1619791167.1.0.0&bottomprice=1.0&user_agent=pc&launch_city_id=0&mtcategory_ids=1&sver=2&AdExpPath=18-338-2099,3-56-112,3-169-830,3-140-565,3-50-100,3-164-792,3-227-1297,3-12-28,18-293-1778,3-201-1096,3-296-1803&bottomfen=100&mtuser_id=0&adsCtrStrategy=SearchPcSearchBaseline&page_city_id=0&entityplat=2&ad_v=2&mtadshop_id=1552782320&mtpage_city_id=162&adidx=19&act=2&gather_index=1&item_index=-999","adsShowUrl":"https://mlog.dianping.com/api/cpv/action?mbid=1.0&productid=74&display_id=50028&bg=0&pctr=0.03110500512618897&ad_cj=6szyLVEJIqPvj8WMprQoBO7P4P8Y93TMOCUcFLoWyuDXz97bT4r_tBlOdV3QFOfgUU1fxNa0OEt-ZWAFnWIk-mz14pXM2_hk4WoYg1tb_vbJwQQ4jjAD3M_9t6XQe0XrOJ1ZzCuDu2W7gg9Djpw&ad_ci=6szyJVAZLuqn3d2Y_rsgFLyZo6ZOoVvXNXtIHL4Kzf6RnZ6MDJvOqRQHPgSFEe_tVE5OjoH2XhI1YjRQlmE6_3-ztdCLmPh80XdBi15e-vvckFhD7UMM3siosarXekI&discount=1&mtlaunch_city_id=162&bu=28&category_id=110&pos=1&mtuser_id64=0&pcvr=0.006906593406593407&client_version=6.5.1&mtdpid=4c0f6c3e58c74aaab8df.1619791167.1.0.0&bottomprice=1.0&user_agent=pc&launch_city_id=0&mtcategory_ids=1&sver=2&AdExpPath=18-338-2099,3-56-112,3-169-830,3-140-565,3-50-100,3-164-792,3-227-1297,3-12-28,18-293-1778,3-201-1096,3-296-1803&bottomfen=100&mtuser_id=0&adsCtrStrategy=SearchPcSearchBaseline&page_city_id=0&entityplat=2&ad_v=2&mtadshop_id=1552782320&mtpage_city_id=162&adidx=19&act=3&gather_index=1&item_index=-999"},{"poiId":192715658,"frontImg":"https://img.meituan.net/600.600/msmerchant/73fa29e2810ce042e69e7a3d43870bdf96846.jpg","title":"老佛爷铜炉蛙锅","avgScore":5,"allCommentNum":438,"address":"铁东区北二经路与东山大街交叉口北行200米欧屹金城大门北侧50米","avgPrice":65,"dealList":[{"title":"双层青虾牛蛙,建议4-5人使用","price":179,"soldCounts":48},{"title":"100元代金券1张,可叠加","price":88,"soldCounts":2063},{"title":"老佛爷蛙锅双人餐","price":138,"soldCounts":811},{"title":"老佛爷双层美蛙锅,建议4-5人使用","price":169,"soldCounts":1016}],"hasAds":false,"adsClickUrl":"","adsShowUrl":""},{"poiId":5244435,"frontImg":"http://p0.meituan.net/600.600/biztone/fd653344efafbd3d9024262762e3b597193685.jpg","title":"派乐汉堡·炸鸡(师大店)","avgScore":4.5,"allCommentNum":243,"address":"铁西区师范大学凯虹市场","avgPrice":20,"dealList":[{"title":"双人套餐,提供免费WiFi","price":19.9,"soldCounts":386},{"title":"单人套餐,提供免费WiFi","price":8.9,"soldCounts":562},{"title":"单人套餐,提供免费WiFi","price":11.9,"soldCounts":175},{"title":"2人套餐,包间免费","price":15.9,"soldCounts":41},{"title":"香脆鸡腿堡+韩式炸鸡(2块)1份","price":14.9,"soldCounts":6566},{"title":"双层芝士牛肉汉堡+鸡米花+中可乐1份","price":19.9,"soldCounts":1718},{"title":"香脆鸡腿堡+香辣鸡翅+中可乐1份","price":20.9,"soldCounts":33},{"title":"中可1份","price":3.99,"soldCounts":3197},{"title":"香脆鸡腿堡1份","price":8.9,"soldCounts":10005},{"title":"琥珀炸鸡+中可乐1份","price":21.9,"soldCounts":835},{"title":"新奥尔良烤鸡腿堡+薯条+鸡块+中可乐1份","price":23.9,"soldCounts":372},{"title":"韩式炸鸡(4根)1份","price":13.9,"soldCounts":619},{"title":"上校鸡块(4块)1份","price":7.9,"soldCounts":3402},{"title":"【黄金脆皮鸡三件套】黄金脆皮鸡+薯条+中可1份","price":28.9,"soldCounts":335},{"title":"韩式炸鸡(1块)1份","price":3.5,"soldCounts":9699},{"title":"上校鸡块(4块)+韩式炸鸡(2根)+中可乐1份","price":15.9,"soldCounts":1097},{"title":"薯条+鸡块1份","price":12.9,"soldCounts":1116},{"title":"鸡肉卷1份","price":7.9,"soldCounts":1849},{"title":"卤辣王炸鸡腿堡1份","price":9.9,"soldCounts":118},{"title":"香脆鸡腿堡+上校鸡块(4块)+中可乐1份","price":17.9,"soldCounts":12219},{"title":"香辣鸡翅(2对)1份","price":13.9,"soldCounts":1973},{"title":"新奥尔良烤鸡腿堡+香辣鸡翅+中可乐1份","price":16.9,"soldCounts":1821},{"title":"【超值汉堡六件套】1个香脆鸡腿堡+1个新奥尔良烤堡+1个鸡肉卷+1份薯条+2杯中可1份","price":39.9,"soldCounts":520},{"title":"【黄金脆皮鸡八件套】1份黄金脆皮鸡+1份香脆鸡腿汉堡+1份鸡肉卷+1份薯条+1份鸡块+3杯中可1份","price":52.5,"soldCounts":105},{"title":"【腿堡能量餐】香脆鸡腿堡+劲爆鸡米花+中可1份","price":17.9,"soldCounts":1953}],"hasAds":false,"adsClickUrl":"","adsShowUrl":""},{"poiId":164462585,"frontImg":"https://img.meituan.net/msmerchant/529e54c040d90e6e5055fe82859fca25175762.jpg@600w_600h_1l","title":"米村拌饭馆(地直店)","avgScore":4.4,"allCommentNum":6,"address":"铁西区公园北街西合味原饭店西侧米村拌饭馆","avgPrice":17,"dealList":[{"title":"超值双人餐,包间免费","price":56.9,"soldCounts":4},{"title":"欢聚3-4人餐,包间免费","price":85.6,"soldCounts":3},{"title":"精品单人餐,包间免费","price":21.6,"soldCounts":7},{"title":"经典单人套,包间免费","price":19.9,"soldCounts":136}],"hasAds":true,"adsClickUrl":"https://mlog.dianping.com/api/cpv/billing?mbid=1.0&productid=74&display_id=50028&bg=0&pctr=0.030950501738025354&ad_cj=GF2aMZoKGJIZ05vtYhLl7vMGkkfrce8XeBZNAM7JLjghOa3ZiMJkHUNI2jSNJvNEyRsdh9-uwFK2B04ycHR-DOON2w1eqhEWbBnxo9MlJO4dLm0I5K8cJcsBfA9lyzzudlIXl6PiVVYedGg&ad_ci=GF2aOZsaFNtRgYP5Oh3t_6NT1BuwJ8AMdUgRCsrRKSdhafnbg8JSAF4cjDmPKfNFyRoOzY_59lK_X0ItdmA8XKfMjEoY0wsePlj5oNYmJOMDfDR5h9sSdsACeVlzkGY&discount=1&mtlaunch_city_id=162&bu=28&category_id=114&pos=1&mtuser_id64=0&pcvr=0.004207792207792208&client_version=6.5.1&mtdpid=4c0f6c3e58c74aaab8df.1619791167.1.0.0&bottomprice=1.0&user_agent=pc&launch_city_id=0&mtcategory_ids=1&sver=2&AdExpPath=18-338-2099,3-56-112,3-169-830,3-140-565,3-50-100,3-164-792,3-227-1297,3-12-28,18-293-1778,3-201-1096,3-296-1803&bottomfen=100&mtuser_id=0&adsCtrStrategy=SearchPcSearchBaseline&page_city_id=0&entityplat=2&ad_v=2&mtadshop_id=164462585&mtpage_city_id=162&adidx=22&act=2&gather_index=1&item_index=-999","adsShowUrl":"https://mlog.dianping.com/api/cpv/action?mbid=1.0&productid=74&display_id=50028&bg=0&pctr=0.030950501738025354&ad_cj=GF2aMZoKGJIZ05vtYhLl7vMGkkfrce8XeBZNAM7JLjghOa3ZiMJkHUNI2jSNJvNEyRsdh9-uwFK2B04ycHR-DOON2w1eqhEWbBnxo9MlJO4dLm0I5K8cJcsBfA9lyzzudlIXl6PiVVYedGg&ad_ci=GF2aOZsaFNtRgYP5Oh3t_6NT1BuwJ8AMdUgRCsrRKSdhafnbg8JSAF4cjDmPKfNFyRoOzY_59lK_X0ItdmA8XKfMjEoY0wsePlj5oNYmJOMDfDR5h9sSdsACeVlzkGY&discount=1&mtlaunch_city_id=162&bu=28&category_id=114&pos=1&mtuser_id64=0&pcvr=0.004207792207792208&client_version=6.5.1&mtdpid=4c0f6c3e58c74aaab8df.1619791167.1.0.0&bottomprice=1.0&user_agent=pc&launch_city_id=0&mtcategory_ids=1&sver=2&AdExpPath=18-338-2099,3-56-112,3-169-830,3-140-565,3-50-100,3-164-792,3-227-1297,3-12-28,18-293-1778,3-201-1096,3-296-1803&bottomfen=100&mtuser_id=0&adsCtrStrategy=SearchPcSearchBaseline&page_city_id=0&entityplat=2&ad_v=2&mtadshop_id=164462585&mtpage_city_id=162&adidx=22&act=3&gather_index=1&item_index=-999"},{"poiId":1983196434,"frontImg":"http://p0.meituan.net/600.600/biztone/7fd49f4d7f88e005239b0b1075d80bd52181725.jpg","title":"飞檐走壁家庭烤肉大冷面","avgScore":5,"allCommentNum":92,"address":"铁东区铁东区金水名居","avgPrice":55,"dealList":[{"title":"品质四人餐,包间免费","price":189.9,"soldCounts":41},{"title":"经典双人餐,包间免费","price":89.9,"soldCounts":46},{"title":"超值烤肉套餐,建议2人使用","price":35,"soldCounts":102},{"title":"100元代金券1张,仅限使用1张","price":79.9,"soldCounts":108}],"hasAds":false,"adsClickUrl":"","adsShowUrl":""},{"poiId":622472955,"frontImg":"https://img.meituan.net/600.600/msmerchant/86d364b67da52a9bb8f9b523f1a315ca189612.jpg","title":"耍牛忙串串香(九州店)","avgScore":5,"allCommentNum":95,"address":"铁西区六孔桥路欧亚九洲城购物中心西行30米路北","avgPrice":30,"dealList":[{"title":"串串香火锅2人餐,包间免费","price":69,"soldCounts":648},{"title":"串串香火锅4人餐,包间免费","price":139,"soldCounts":264}],"hasAds":false,"adsClickUrl":"","adsShowUrl":""},{"poiId":1832364102,"frontImg":"https://p0.meituan.net/biztone/1832364102_1619918517845.jpeg@600w_600h_1l","title":"吉鲜川味泥锅涮肚","avgScore":0,"allCommentNum":0,"address":"铁西区红宇花园西南545号","avgPrice":40,"dealList":[{"title":"豪华串串4人餐,提供免费WiFi","price":99,"soldCounts":3},{"title":"特惠串串2人餐,提供免费WiFi","price":59,"soldCounts":10},{"title":"100元全场代金券1张,可叠加","price":88,"soldCounts":0}],"hasAds":true,"adsClickUrl":"https://mlog.dianping.com/api/cpv/billing?mbid=1.5&productid=74&display_id=50028&bg=0&pctr=0.01742354812312537&ad_cj=y611v2Sn5G8LFKQDYsGnHjKnHe854KDR4Or-hRdZWCg0XsDKoO53m_wElGBaPKTX5JTHKqm3p4n1d5hbrE6bWWv4KykU_1lEn5nSOOHXPDimZL7PU-usUb3l4zTm7daZO7M0sqhRBMf5x8wff3M&ad_ci=y611t2W36CZDRrwXOs6vAGP2X79uto_K7bSqgBVFXy0xWMXBsb4r16JC2joMM7ObttSTeenZ_t_uJ8EJo0mFVHqsPD0QzkNdpc2HM-bSPzihZL_FRKjyD_7r5jzg69qZO7A0sqhRUZGvlpBOciA&discount=1&mtlaunch_city_id=162&bu=28&category_id=110&pos=1&mtuser_id64=0&pcvr=0.007424836601307192&client_version=6.5.1&mtdpid=4c0f6c3e58c74aaab8df.1619791167.1.0.0&bottomprice=1.0&user_agent=pc&launch_city_id=0&mtcategory_ids=1&sver=2&AdExpPath=18-338-2099,3-56-112,3-169-830,3-140-565,3-50-100,3-164-792,3-227-1297,3-12-28,18-293-1778,3-201-1096,3-296-1803&bottomfen=100&mtuser_id=0&adsCtrStrategy=SearchPcSearchBaseline&page_city_id=0&entityplat=2&ad_v=2&mtadshop_id=1832364102&mtpage_city_id=162&adidx=25&act=2&gather_index=1&item_index=-999","adsShowUrl":"https://mlog.dianping.com/api/cpv/action?mbid=1.5&productid=74&display_id=50028&bg=0&pctr=0.01742354812312537&ad_cj=y611v2Sn5G8LFKQDYsGnHjKnHe854KDR4Or-hRdZWCg0XsDKoO53m_wElGBaPKTX5JTHKqm3p4n1d5hbrE6bWWv4KykU_1lEn5nSOOHXPDimZL7PU-usUb3l4zTm7daZO7M0sqhRBMf5x8wff3M&ad_ci=y611t2W36CZDRrwXOs6vAGP2X79uto_K7bSqgBVFXy0xWMXBsb4r16JC2joMM7ObttSTeenZ_t_uJ8EJo0mFVHqsPD0QzkNdpc2HM-bSPzihZL_FRKjyD_7r5jzg69qZO7A0sqhRUZGvlpBOciA&discount=1&mtlaunch_city_id=162&bu=28&category_id=110&pos=1&mtuser_id64=0&pcvr=0.007424836601307192&client_version=6.5.1&mtdpid=4c0f6c3e58c74aaab8df.1619791167.1.0.0&bottomprice=1.0&user_agent=pc&launch_city_id=0&mtcategory_ids=1&sver=2&AdExpPath=18-338-2099,3-56-112,3-169-830,3-140-565,3-50-100,3-164-792,3-227-1297,3-12-28,18-293-1778,3-201-1096,3-296-1803&bottomfen=100&mtuser_id=0&adsCtrStrategy=SearchPcSearchBaseline&page_city_id=0&entityplat=2&ad_v=2&mtadshop_id=1832364102&mtpage_city_id=162&adidx=25&act=3&gather_index=1&item_index=-999"},{"poiId":6554861,"frontImg":"http://p0.meituan.net/600.600/wmproduct/c8ab6e587a95c682743b01eda417b22274241.jpg","title":"艾吉士炸鸡汉堡(金座店)","avgScore":4.5,"allCommentNum":2084,"address":"铁西区金座购物中心一楼","avgPrice":15,"dealList":[{"title":"超值双人餐,提供免费WiFi","price":28,"soldCounts":1192},{"title":"超值单人餐,提供免费WiFi","price":12.8,"soldCounts":4017},{"title":"超值双人餐,提供免费WiFi","price":36,"soldCounts":300},{"title":"超值双人餐,提供免费WiFi","price":39.8,"soldCounts":208}],"hasAds":false,"adsClickUrl":"","adsShowUrl":""},{"poiId":1577834494,"frontImg":"https://img.meituan.net/600.600/msmerchant/1114d1e0e999bfa02b66d7bb1508f738903827.png","title":"贤合庄卤味火锅(四平万达店)","avgScore":4.5,"allCommentNum":598,"address":"铁东区铁东区万达广场三楼","avgPrice":68,"dealList":[{"title":"小贤鸭血1份,提供免费WiFi","price":1.99,"soldCounts":200},{"title":"冰粉1份,包间免费","price":1,"soldCounts":3235},{"title":"精品肥牛1份,包间免费","price":9.9,"soldCounts":2061},{"title":"❤新品双人餐,提供免费WiFi","price":128,"soldCounts":71},{"title":"霜降和牛1份,提供免费WiFi","price":19.9,"soldCounts":83},{"title":"小贤推荐♥双人餐","price":156,"soldCounts":380},{"title":"100元代金券1张,可叠加","price":88,"soldCounts":4189},{"title":"50元代金券1张,可叠加2张","price":34.9,"soldCounts":6982}],"hasAds":false,"adsClickUrl":"","adsShowUrl":""},{"poiId":906498921,"frontImg":"https://img.meituan.net/msmerchant/b1581c375d43db8bbfca29871a0eea87261566.jpg@600w_600h_1l","title":"马路边边串串香(大鹰店)","avgScore":4.4,"allCommentNum":122,"address":"铁东区开发区大路东方花园南门(中国石油对面)","avgPrice":0,"dealList":[{"title":"豪华串串4人餐,包间免费","price":179,"soldCounts":901}],"hasAds":true,"adsClickUrl":"https://mlog.dianping.com/api/cpv/billing?mbid=1.0&productid=74&display_id=50028&bg=0&pctr=0.024148838036661846&ad_cj=5wUmdJBxAxfzt0NH-rJbgU6tfLUCIabBGkp_gZsL5QlxhakK9_0Ri3pfztwfCFW3faMhdI1vtsr-_TdG2tr5JKOEKtCkEu27KTBtp8k5umlyFrXcKmhJ_Svl_BCnKyx0iIEJPvVOlxoay8ml&ad_ci=5wUmfJFhD1675VtTor1Tkhj4Nuhdd4naFxQjjJwR7Bc81upL9-c6i2oblYgSAlO5fao_P9ovxMH6_DdGwtjvY_PBbYHlQMG-Inllp888u2NhTe2vShpD-Crr-xama30&discount=1&mtlaunch_city_id=162&bu=28&category_id=110&pos=1&mtuser_id64=0&pcvr=0.008974842767295597&client_version=6.5.1&mtdpid=4c0f6c3e58c74aaab8df.1619791167.1.0.0&bottomprice=1.0&user_agent=pc&launch_city_id=0&mtcategory_ids=1&sver=2&AdExpPath=18-338-2099,3-56-112,3-169-830,3-140-565,3-50-100,3-164-792,3-227-1297,3-12-28,18-293-1778,3-201-1096,3-296-1803&bottomfen=100&mtuser_id=0&adsCtrStrategy=SearchPcSearchBaseline&page_city_id=0&entityplat=2&ad_v=2&mtadshop_id=906498921&mtpage_city_id=162&adidx=28&act=2&gather_index=1&item_index=-999","adsShowUrl":"https://mlog.dianping.com/api/cpv/action?mbid=1.0&productid=74&display_id=50028&bg=0&pctr=0.024148838036661846&ad_cj=5wUmdJBxAxfzt0NH-rJbgU6tfLUCIabBGkp_gZsL5QlxhakK9_0Ri3pfztwfCFW3faMhdI1vtsr-_TdG2tr5JKOEKtCkEu27KTBtp8k5umlyFrXcKmhJ_Svl_BCnKyx0iIEJPvVOlxoay8ml&ad_ci=5wUmfJFhD1675VtTor1Tkhj4Nuhdd4naFxQjjJwR7Bc81upL9-c6i2oblYgSAlO5fao_P9ovxMH6_DdGwtjvY_PBbYHlQMG-Inllp888u2NhTe2vShpD-Crr-xama30&discount=1&mtlaunch_city_id=162&bu=28&category_id=110&pos=1&mtuser_id64=0&pcvr=0.008974842767295597&client_version=6.5.1&mtdpid=4c0f6c3e58c74aaab8df.1619791167.1.0.0&bottomprice=1.0&user_agent=pc&launch_city_id=0&mtcategory_ids=1&sver=2&AdExpPath=18-338-2099,3-56-112,3-169-830,3-140-565,3-50-100,3-164-792,3-227-1297,3-12-28,18-293-1778,3-201-1096,3-296-1803&bottomfen=100&mtuser_id=0&adsCtrStrategy=SearchPcSearchBaseline&page_city_id=0&entityplat=2&ad_v=2&mtadshop_id=906498921&mtpage_city_id=162&adidx=28&act=3&gather_index=1&item_index=-999"},{"poiId":41214657,"frontImg":"http://p1.meituan.net/600.600/deal/6df1563c6c73ce59153ffa2108c2576151617.jpg","title":"劲辣鸭掌王","avgScore":4.2,"allCommentNum":42,"address":"双辽市师院小门南行150米","avgPrice":10,"dealList":[{"title":"超值单人餐,包间免费","price":9.9,"soldCounts":97}],"hasAds":false,"adsClickUrl":"","adsShowUrl":""},{"poiId":1212357271,"frontImg":"http://p0.meituan.net/600.600/biztone/1711efd09179d079aed89ed1bcb56875548836.jpg","title":"五爷拌面(四平万达店)","avgScore":4.9,"allCommentNum":13,"address":"铁东区万达广场3层3012号商铺","avgPrice":22,"dealList":[{"title":"50元代金券1张,可叠加","price":45,"soldCounts":568},{"title":"五爷精品双人套,包间免费","price":53.8,"soldCounts":116},{"title":"五爷安心早餐B,建议单人使用","price":6,"soldCounts":32},{"title":"爽口秋耳1份,可免费使用包间","price":6,"soldCounts":55},{"title":"五爷燃面单人套,可免费使用包间","price":19.8,"soldCounts":503},{"title":"野生蓝莓汁1份,可免费使用包间","price":4.9,"soldCounts":53},{"title":"云南石头番茄单人套,可免费使用包间","price":17.8,"soldCounts":629},{"title":"五爷安心早餐A,建议单人使用","price":5,"soldCounts":9}],"hasAds":false,"adsClickUrl":"","adsShowUrl":""}]}}

店铺详情数据如下:

{"poiId":1540315,"name":"赛百味(红桥店)","avgScore":4.6,"address":"东城区天坛路9号红桥市场B1楼(近天坛公园东门)","phone":"010-67169252","openTime":"周一至周日 09:00-21:00","extraInfos":[{"iconUrl":"http://p0.meituan.net/codeman/551290739062eda37e52999e2315f50c1887.png","text":"提供wifi"}],"hasFoodSafeInfo":true,"longitude":116.420609,"latitude":39.88593,"avgPrice":29,"brandId":0,"brandName":"","showStatus":1,"isMeishi":true}

我将_token的计算封装成了一个接口,这样就可以随时调用去获取数据了:(参数url后的值为要请求的美团url,然后对其计算获得_token值)

http://127.0.0.1:5000/mt/gettoken/?url=https://sp.meituan.com/meishi/api/poi/getPoiList?cityName=%E5%9B%9B%E5%B9%B3&cateId=0&areaId=0&page=1&userId=115874893&uuid=272860a72e174511b2b9.1620552397.1.0.0&platform=1&partner=126&riskLevel=1&optimusCode=10

浏览器请求我的_token接口:

技术交流Q 1376614795

2021最新某团_token参数分析、可获取商家列表、商家详情数据相关推荐

  1. 协议分析_qvod_获取快播视频下载的数据包_20120205

    基本的知识: qvod的使用的协议应该是应用程协议(大部分使用的应程序都是用TCP/IP协议来做应用程程序的扩展),在每台主机上需要发送和接收来自网络的数据包,那么就需要对应程序进行标示(不然到了tc ...

  2. 如何获取淘宝店铺详情数据接口

    seller_info-获得淘宝店铺详情,点击更多API调试请移步注册API账号 点击获取测试key和secret 公共参数 请求地址: https://api-gw.onebound.cn/taob ...

  3. 获取淘宝商品详情数据

    请求参数:num_iid=520813250866&is_promotion=1 参数说明:num_iid:淘宝商品ID is_promotion:是否获取取促销价 请求示例 -- 请求示例 ...

  4. 请求示例curl获取电商商品详情数据API接口,批量采集

    获得页面 使用命令:curl http://curl.haxx.se 这是最简单的使用方法.用这个命令获得了http://curl.haxx.se指向的页面,同样,如果这里的URL指向的是一个文件或者 ...

  5. 如何通过API接口,获取淘宝商品详情数据

    淘宝网站商品详情页 通过API接口用商品ID获取详情页数据 点击获取key和secret测试 淘宝/天猫获得淘宝商品详情 API 返回值说明 API 返回结果 -------------------- ...

  6. 10天手敲一个SpringBoot网上商城项目(四)——新增收货地址功能、获取省市区列表及名称功能的实现

    静态资源及sql文件分享 链接:https://pan.baidu.com/s/1X-yjmQcPD3PqS21x0HplNA?pwd=23gr 提取码:23gr 文章目录 新增收货地址 1.创建数据 ...

  7. vue中如何实现列表的详情页获取及渲染

    一.页面跳转方式 在页面中有两种跳转方式,第一种跳转方式是 使用 a 标签的形式进行跳转,也称之为标签跳转.第二种跳转方式是使用 window.location.href 的形式进行跳转,也称之为编程 ...

  8. 2021最新某某文书列表参数pageId、ciphertext、__RequestVerificationToken以及接口返回数据result逆向分析(二)

    文章目录 前言 一.抓包分析 二.参数解析 1.参数ciphertext 2.参数__RequestVerificationToken 3.参数pageId 三. result 解析 总结 前言 哦嚯 ...

  9. 最新美团JS逆向分析(_token参数)

    目标网址:https://cd.meituan.com/ 重要说明:文章教程仅供参考学习,请勿用于非法用途,否则后果自负. 目录 一.接口参数分析 二.加密逻辑分析

最新文章

  1. Rails 添加新的运行环境
  2. win10 anaconda 下pcl库的安装
  3. JAVA开发:开发属于你的第一个Java程序
  4. 使用时空-频率模式分析从脑电数据的一些试验中提取N400成分
  5. ajax传数组到php页面上,将ajax中的元素值和数组传递到PHP页面
  6. iptables (2) 基本配置
  7. div跳转html页面底部,即使没有内容,如何强制DIV块扩展到页面底部?
  8. 关于Jquery中animate可以操作css样式属性总结
  9. 孙宇晨:BM跑路或是觉得做项目是一种负担
  10. java resource放入的文件没有生成在classes中_JAVA程序员学习笔记----mybatis深入剖析...
  11. 在Kibana上查看Apache日志
  12. vue中的组件 (全局注册和本地注册组件)
  13. MATLAB中的fopen、fclose、fprintf、fscanf、fread、fwrite
  14. 小程序测试关注点之一-登录授权
  15. 网络蜘蛛爬取邮箱地址
  16. linux ssh freeradius,配置FreeRADIUS提供AAA服务
  17. WordPress获取当前网站域名
  18. 计算机专业认识和规划,计算机科学与技术专业认识与规划
  19. CentOS7安装Zeppelin完整步骤
  20. 小白入门必学——python循环语句

热门文章

  1. 智慧路灯商业模式分析:智慧灯杆如何盈利?12项盈利模式汇总
  2. 负基差会对股票量化对冲造成什么影响?
  3. python基础(##16)
  4. 掌握电商后台设计,这一篇足矣(转载)
  5. 阿里巴巴技术委员会主席王坚眼中的人工智能
  6. 计算机应用技术移动UI设计方向,周口职业技术学院专科(高职)计算机应用技术(移动UI设计方向)_周口职业技术学院专科(高职)计算机应用技术(移动UI设计方向)简介-查字典学校网...
  7. (C语言)银行存款定期到期自动转存,到期的利息计入本金合并转存
  8. ✨ StarRocks 9 月社区动态
  9. (27)STM32——光敏传感器实验笔记
  10. 武大计算机博士很难毕业,武大的博士好考吗?好毕业吗?