Giter Club home page Giter Club logo

Comments (27)

wdzeng avatar wdzeng commented on June 10, 2024 2

感謝各位的回報,我再來研究看看😭😭😭😭😭😭😭😭

from shopee-coins-bot.

94ione avatar 94ione commented on June 10, 2024 1

您好

我使用的瀏覽器為 Cent Browser,版本為 5.0.1002.354 (正式版本) (64 位元) (Chromium 102.0.5005.167)
有開無痕取得 cookie,cookie 的確只有一行,是比照文件取得的。
使用指令 whoami, balancehistory 皆能運作順利,有正確的輸出結果。
唯簽到會出現已簽到,只能隔日再簽一次,但隔日用機器人一樣會失敗,只能用手機或網頁,故 history 只有 DAY 1

我的指令是 docker run -v "/www/shopee:/config" hyperbola/shopee-coins-bot:2.0.0-alpha.2 -c /config/a1
有帶 -v 的,不過若只有上面這行指令,是會顯示

docker: invalid reference format.
See 'docker run --help'.

只有在 a1 後再加上 whoami, balancehistory 才會有正常的輸出

以上不知是否有操作錯誤,亦或需如何交叉測試呢?

謝謝!

from shopee-coins-bot.

94ione avatar 94ione commented on June 10, 2024 1

image

from shopee-coins-bot.

Ban921 avatar Ban921 commented on June 10, 2024 1

Hi,
我已經重複更新cookie
但我的狀況跟#65 (comment) 一樣

from shopee-coins-bot.

wdzeng avatar wdzeng commented on June 10, 2024

Hi @94ione, 我還是無法重現,也猜不到可能的原因。是否可以請你協助 Debug?

  • 你獲得 cookie 的方式是否完全依據這份文件的步驟?
    • 使用的瀏覽器為何?瀏覽器版本為何?是否開無痕?
    • 貼到檔案裡的 cookie 是否只有一行?
    • 取得 cookie 之後是否有登出?是否有立即關閉瀏覽器?
  • 指令 whoami, balancehistory 是否運作順利?
  • -V 印出的結果為何?(照理說必須是 2.0.0-alpha.X

from shopee-coins-bot.

wdzeng avatar wdzeng commented on June 10, 2024

您好

我使用的瀏覽器為 Cent Browser,版本為 5.0.1002.354 (正式版本) (64 位元) (Chromium 102.0.5005.167) 有開無痕取得 cookie,cookie 的確只有一行,是比照文件取得的。 使用指令 whoami, balancehistory 皆能運作順利,有正確的輸出結果。 唯簽到會出現已簽到,只能隔日再簽一次,但隔日用機器人一樣會失敗,只能用手機或網頁,故 history 只有 DAY 1

我的指令是 docker run -v "/www/shopee:/config" hyperbola/shopee-coins-bot:2.0.0-alpha.2 -c /config/a1 有帶 -v 的,不過若只有上面這行指令,是會顯示

docker: invalid reference format.
See 'docker run --help'.

只有在 a1 後再加上 whoami, balancehistory 才會有正常的輸出

以上不知是否有操作錯誤,亦或需如何交叉測試呢?

謝謝!

Hi, 感謝你的協助!我會去試試看 Cent Browser。

想確認以下事項

  • 你的 cookie 檔案是否是在本機的 /www/shopee/a1?
  • docker --version 的輸出結果為?
  • docker run -v "/www/shopee:/config" hyperbola/shopee-coins-bot:2.0.0-alpha.2 -c /config/a1 會有 docker: invalid reference format. 的錯誤訊息,這件事有點奇怪,是否可以請你再次確認?

from shopee-coins-bot.

94ione avatar 94ione commented on June 10, 2024

抱歉,我說錯了,還好您有質疑

是的,我的 cookie 檔案在 /www/shopee/a1,不過不是本機耶,我是用 ORACLE 的 VPS

docker --version
Docker version 23.0.1, build a5ee5b1
docker run "/www/shopee:/config" hyperbola/shopee-coins-bot:2.0.0-alpha.2 -c /config/a1 -v

出現這個

docker: invalid reference format.
See 'docker run --help'.

輸入

docker run -v "/www/shopee:/config" hyperbola/shopee-coins-bot:2.0.0-alpha.2 -c /config/a1

會顯示

Usage: docker run hyperbola/shopee-coins-bot:2.0.0-alpha.2 [options] [command]
Give me Shopee coins!

Options:
  -V, --version        output the version number
  -q, --quiet          suppress output message (default: false)
  -c, --cookie <FILE>  path to cookie file
  -h, --help           display help for command

Commands:
  checkin [options]    Checkin to get Shopee coins
  balance              Get my Shopee coins balance
  history [options]    Get my Shopee coins checkin history
  whoami               Get my Shopee username

from shopee-coins-bot.

wdzeng avatar wdzeng commented on June 10, 2024

Hi, 我懷疑蝦皮會擋雲端業者 (Oracle, GCP, Amazon ...) 的 IP,是否可以請您日後再試試看在自己的筆電執行機器人?

from shopee-coins-bot.

94ione avatar 94ione commented on June 10, 2024

假日外出,所以晚測試了.....不好意思,狀況如下

本機作業系統: WINDOWS 10 PRO x64 (22H2)
Docker version 24.0.2, build cb74dfc
Chrome 版本 114.0.5735.199 (正式版本) (64 位元)
whoami, balance 與 history 運作順利,有顯示正常的結果
進行checkin,得到的值為Already checked in. (實際是沒有簽成功),回到手機要再簽,就一樣顯示try again tomorrow

from shopee-coins-bot.

wdzeng avatar wdzeng commented on June 10, 2024

假日外出,所以晚測試了.....不好意思,狀況如下

本機作業系統: WINDOWS 10 PRO x64 (22H2) Docker version 24.0.2, build cb74dfc Chrome 版本 114.0.5735.199 (正式版本) (64 位元) whoami, balance 與 history 運作順利,有顯示正常的結果 進行checkin,得到的值為Already checked in. (實際是沒有簽成功),回到手機要再簽,就一樣顯示try again tomorrow

Hi, 請問您在本機進行簽到之前,是否有重新產生新的 cookie,還是您仍然使用 Oracle 機器上的 cookie 呢?如果是後者的話,想請您再協助試試看於本機產生新的 cookie。

from shopee-coins-bot.

94ione avatar 94ione commented on June 10, 2024

有的,想說就切分來測試,所以在本機上的是用Chrome 新撈的

from shopee-coins-bot.

wdzeng avatar wdzeng commented on June 10, 2024

想確認一下,您的本機連上的是一般家用網路嗎(e.g. 中華電信)?是否有使用 VPN 或 reverse proxy?

from shopee-coins-bot.

94ione avatar 94ione commented on June 10, 2024

不是耶,是使用台灣之星的行動網路,沒有 VPN 或 reverse proxy

from shopee-coins-bot.

wdzeng avatar wdzeng commented on June 10, 2024

Hi, 我想調查是否為 IP 因素。是否可以在您的個人電腦上跑以下指令並回報輸出結果?

docker run --entrypoint wget hyperbola/shopee-coins-bot:2.0.0-alpha.2 'http://ipecho.net/plain' -O- -q

from shopee-coins-bot.

94ione avatar 94ione commented on June 10, 2024

看到版大昨日似乎有做了異動,所以做了測試,一樣簽到失敗但其他指令正常,但簽到時這次出現的簽到失敗,是Invalid cookie

image

from shopee-coins-bot.

wdzeng avatar wdzeng commented on June 10, 2024

Hi,

我有做一些更新,但我還沒發布新的 image。

Invalid cookie 可能表示你的 cookie 放太久已經過期了。

from shopee-coins-bot.

sian-jing avatar sian-jing commented on June 10, 2024

Unexpected error: Cannot read properties of undefined (reading 'success')
請問這是什麼問題?

from shopee-coins-bot.

wdzeng avatar wdzeng commented on June 10, 2024

Hi @94ione @jim515jim,

大概能確定是被偵測到自動化的關係,但我不確定能否解決。

請試試看 hyperbola/shopee-coins-bot:2.0.0-alpha.3。

from shopee-coins-bot.

94ione avatar 94ione commented on June 10, 2024

出現Invalid cookie.
Missing required cookie: shopee_webUnique_ccd,截圖如下。謝謝!

image

from shopee-coins-bot.

wdzeng avatar wdzeng commented on June 10, 2024

Hi @94ione,

想再次確認以下事項:

  • 你的 cookie 是否來自無痕的 Chrome 瀏覽器?
  • 你的登入方式是 Facebook 登入、Google 帳號登入、還是帳號密碼登入?

感謝!

from shopee-coins-bot.

sian-jing avatar sian-jing commented on June 10, 2024

from shopee-coins-bot.

ray1025 avatar ray1025 commented on June 10, 2024

我用whoami正常,但是用checkin也是出現這個錯誤
Invalid cookie.
Missing required cookie: shopee_webUnique_ccd

ps.
1.我的 cookie 來自一般的 Chrome 瀏覽器
2.我的登入方式是帳號密碼登入

from shopee-coins-bot.

danielhuang-030 avatar danielhuang-030 commented on June 10, 2024

嗨,回報一下我這邊是 whoami/balance/history 都正常,但是用 checkin 會出現

You are not logged in. Is your cookie expired?

但明明都是用同一組 cookie 啊...

  • 使用 Chrome 無痕
  • 帳號密碼登入後取得 cookie

from shopee-coins-bot.

94ione avatar 94ione commented on June 10, 2024

Hi @94ione,

想再次確認以下事項:

  • 你的 cookie 是否來自無痕的 Chrome 瀏覽器?
  • 你的登入方式是 Facebook 登入、Google 帳號登入、還是帳號密碼登入?

感謝!

您好,我是使用 Chrome 無痕,而帳號是GOOGLE的。謝謝!!

from shopee-coins-bot.

wdzeng avatar wdzeng commented on June 10, 2024

@ray1025 @danielhuang-030 @sian-jing 你們遇到的問題與此篇不同,我把你們移動到 #66 #68

from shopee-coins-bot.

wdzeng avatar wdzeng commented on June 10, 2024

@94ione 我先把問題拆成兩份:

  1. alpha-2 機器人簽到顯示成功,但實際上是失敗的。而且有當日無法再手動簽到的問題。
  2. alpha-3 機器人顯示錯誤訊息 Missing required cookie: shopee_webUnique_ccd

兩個問題應該沒有相關。我把 2. 移動到 #68

from shopee-coins-bot.

94ione avatar 94ione commented on June 10, 2024

@94ione 我先把問題拆成兩份:

  1. alpha-2 機器人簽到顯示成功,但實際上是失敗的。而且有當日無法再手動簽到的問題。
  2. alpha-3 機器人顯示錯誤訊息 Missing required cookie: shopee_webUnique_ccd

兩個問題應該沒有相關。我把 2. 移動到 #68

版大您辛苦了!!給您100個讚!

from shopee-coins-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.