c0mm4nd / MiBuy

小米商城抢购
38 stars 11 forks source link

商品号从哪里看? #8

Closed rekcah1986 closed 4 years ago

rekcah1986 commented 4 years ago

rt

c0mm4nd commented 4 years ago

I have read the script thrice but I still cannot find where it requires a goods id...

If you mean the itemlink, just input the goods URL.

rekcah1986 commented 4 years ago

可能是1元抢购不一样,既看不到productId,没到时间之前也不会跳转

c0mm4nd commented 4 years ago

You mean https://www.mi.com/buy/seckill ?

rekcah1986 commented 4 years ago

是的,上次我是1元秒杀手机的时候发现找不到productId,回头有1元商品的时候可以再关注下

c0mm4nd commented 4 years ago

There are 2 suggestions about this circumstance:

  1. simulate a human view the page and click from the index page, in puppeteer.
  2. use userscript and do more manually.