robgoods / sams Goto Github PK
View Code? Open in Web Editor NEW山姆抢购
Home Page: https://robgoods.github.io/sams/
License: GNU General Public License v3.0
山姆抢购
Home Page: https://robgoods.github.io/sams/
License: GNU General Public License v3.0
master 也不能用了吗
release中的.exe无法打开,v1.1,v1.2都不行。请问,这个问题如何解决?非常感谢~
请问一下🫡
已解决
请帮忙看下,是我设置问题吗?感谢。
C:\Users\lin\Downloads\Compressed\sams-master\sams-master>go run main.go --authToken=
go: github.com/tidwall/[email protected]: Get "https://proxy.golang.org/github.com/tidwall/gjson/@v/v1.14.0.mod": dial tcp 172.217.163.49:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
go: downloading github.com/tidwall/gjson v1.14.0
go: github.com/tidwall/[email protected]: Get "https://proxy.golang.org/github.com/tidwall/gjson/@v/v1.14.0.mod": dial tcp 172.217.163.49:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
RT,安卓手机HttpCanary抓包启动后Chrome可以正常访问站点,但山姆APP无法登录的问题
直接下载的发行版。不知道哪个是master版,哪个是hack版
########## 获取当前可用配送时间【13:28:09】 ###########
配送时间: 2022/04/29 周五 11:30 - 14:30, 是否可用:false
当前无可用配送时间段
getCapacityData 接口刷不出来, 周六的配送时间。
@iscod 了解一下
感谢作者的付出 但我昨天买了一单是周日送货 现在很慌 有没有大哥已经收到货的= =
go已装,包已抓,authtoken已经获得了,但是有个barkid问题不明白怎么去修改参数
是直接=后面删除了 填入barkid吗?
main.go记事本打开了
barkId = flag.String("barkId", "", "可选,通知用的bark
id, 可选参数")
我没有编程基础,但是抢购不到东西要想办法活下去
求问
用Charles抓包,一条条找也没找到token,
手机端要进行什么操作才能找到山姆的token?能否给一个简易的步骤?
之前版本运行没有问题
本次运行显示
Usage of C:\Users\gu\AppData\Local\Temp\go-build3597695511\b001\exe\main.exe:
-deliveryType int
可选,1 急速达,2, 全程配送 (default 2)
-deviceId string
可选,HTTP头部device-id
-floorId int
可选,1,普通商品 2,全球购保税 3,特殊订购自提 4,大件商品 5,厂家直供商品 6,特殊订购商品 7,失效商品 (default 1)
-help
show help
-latitude string
可选,HTTP头部latitude
-longitude string
可选,HTTP头部longitude
-promotionId string
可选,优惠券id
-trackInfo string
可选,HTTP头部track-info
等信息后
然后程序就没有进入下一步
hack分支
########## 获取当前可用配送时间【03:13:25】 ###########
配送时间: 2022/04/20 周三 09:00 - 18:00, 是否可用:false
发现可用的配送时段::2022/04/20 周三 09:00 - 18:00!
########## 提交订单中【03:13:27】 ###########
下单失败:获取履约配送信息异常
对比看了,hack版本ExpectArrivalEndTime是"",但是这样发送到后台,提示收货时间没有填写。
hack的作用是什么呢。浦东店一直没有运力,捡漏也扫不出运力,是不释放了吗。
在支付的时候会报这个错
:)P
非常感谢
一直没抢到
显示不是内部命令
Microsoft Windows [版本 10.0.17134.1304]
(c) 2018 Microsoft Corporation。保留所有权利。
C:\Users\steven> cd C:\Users\steven\Desktop\sams-1.2
C:\Users\steven\Desktop\sams-1.2>go run main.go
'go' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\Users\steven\Desktop\sams-1.2>go run main.go --authToken=241c9d961cb6451785b60fce6b38a59e
'go' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\Users\steven\Desktop\sams-1.2>
请问怎么查看authToken,谢谢
您好~我想问下这个山姆会员店的token如何获取?我试过使用fillder去抓取山姆会员商店手机app的包,使用https解密,会一直处在加载中,无法访问网络的情况,无法获取到它的token,想问您是如何获取这个token的
########## 开始校验当前商品【21:04:17】 ###########
########## 获取当前可用配送时间【21:04:18】 ###########
[403] <title>AccessDeny</title>
hack版一直报扣减运力失败,把地址改到了能下单的杭州,也是不行。请大佬帮忙
我下载到自己的windows下面双击exe程序没有反应,不知道是不是需要什么前置操作。。
########## 提交订单中【17:15:26】 ###########
下单失败:楼层ID不合法
今天提交订单时候,提示楼层ID不合法,我看了commitpay.go :
FloorId: 0, //急速时选1
是不是sam把这个默认值改掉了?
我不会go,只会java和python,只能为作者尽可能把effort减小,希望考虑这个增强。
功能描述
请求:
|POST /api/v1/sams/goods-portal/spu/search HTTP/1.1
Host | api-sams.walmartmobile.cn
Accept | */*
auth-token | xxx
device-type | mini_program
Accept-Encoding | gzip, deflate, br
Accept-Language | en-us
Content-Type | application/json;charset=utf-8
Content-Length | 483
User-Agent | Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E217 MicroMessenger/6.8.0(0x16080000) NetType/WIFI Language/en Branch/Br_trunk MiniProgramEnv/Mac
Connection | keep-alive
system-language | CN
Referer | https://servicewechat.com/wxb344a8513eaaf849/229/page-frame.html
请求JSON:
{"channelType":2,"addressVO":{},"filter":[],"keyword":"保供","excludeSpuIds":[],"pageNum":1,"pageSize":20,"sort":"0","sortType":"","storeInfoVOList":[{"storeDeliveryAttr":[10],"storeId":"9991","storeType":32},{"storeDeliveryAttr":[2,3,4,5,6,7,12],"storeId":"4807","storeType":2},{"storeDeliveryAttr":[3,4],"storeId":"6683","storeType":4},{"storeDeliveryAttr":[1],"storeId":"9996","storeType":8}],"userUid":"需要替换","uid":"268577174","appId":"需要替换","saasId":"1818"}
应答:
{"data":{"pageNum":1,"pageSize":20,"totalCount":1,"dataList":[{"spuId":"替换","storeId":"4807","seriesId":"39500140","title":"保供套餐A","subTitle":"套餐内容:MM芝士华夫饼1.08kg+荷美尔牛肉干 350g+MM夏威夷果仁 500g+口福莱榛子仁牛奶巧克力500g+MM椰子水 200ml*24","brandId":"10196732","categoryIdList":["10012335","10012336"],"masterBizType":1,"viceBizType":1,"image":"https://sam-material-online-1302115363.file.myqcloud.com//sams-static/goods/4473518/12d50a95-e35e-4d2d-9876-0a6c93fe75b1.jpg","giveaway":false,"isAvailable":true,"isPutOnSale":true,"priceInfo":[{"priceType":4,"price":"51460","priceTypeName":"锁价"},{"priceType":1,"price":"51460","priceTypeName":"销售价"}],"limitInfo":[{"limitType":4,"limitNum":1,"text":"1件/人/天","storeId":"4807"}],"tagInfo":[{"title":"限购1件","tagPlace":0,"tagMark":"PURCHASE_LIMIT"},{"title":"新品","tagPlace":1,"tagMark":"upperLeft"}],"deliveryAttr":3,"isPresell":false,"algId":"sr-search-layer-sam@82,sr-search-layer-sam@82","searchId":"替换","requestId":"替换","positionId":1,"page":1,"beltInfo":[],"hasVideo":false}],"hasNextPage":false,"onlyShowSimilarButton":false,"SearchService":{"bid":"替换","query":"保供","sceneId":"替换","requestId":"替换","sequenceId":"替换","algId":"sr-search-layer-sam@82,sr-search-layer-sam@82"}},"code":"Success","msg":"","errorMsg":"","traceId":"替换","requestId":"替换","rt":0,"success":true}
更新后提示:
下单失败:获取履约配送信息异常
rt 不太熟悉这个麻烦教下万分感谢
如题,其实app购物车里是有商品的
go: github.com/tidwall/[email protected]: Get "https://proxy.golang.org/github.com/tidwall/gjson/@v/v1.14.0.mod": dial tcp 142.251.42.241:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
刚自己摸索了下安装了GO环境,按照大佬的提示运行了GO程序,我只选择了自己的收货地址,程序就开始自动运行,但一直提示没有有效商品,请问是不是还需要选择对应的是哪个仓库才行?但我选择收货地址后就自动运行没法再选对应仓库
没看到提示错过了一个单,好可惜啊T_T
我用PC的微信小程序获取的token,这两天一直跑都是没有配送时间。是还有什么要注意的地方吗
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.