为了刷 Amex 的 offer,需要不断开新页面刷 offer。
过去的自动化通常都需要 Playwright 之类又慢又不稳定的代码,我简单用 pyautogui 写了一个只是单纯 Command T + Command V + Enter 的代码,一次性 Safari Private Page 开 50 个页面然后自己来检查。
我自己大概 150 个页面之后开始有 10% 概率刷到 biz plat 300K offer,可能是 rotate 到了最好的 iCloud Private Relay IP 所以成功率大增。
@2025-12-17 我使用的链接是
https://www.americanexpress.com/us/credit-cards/business/business-credit-cards/american-express-business-platinum-credit-card-amex/
Setup
下面代码保存为 Python3 文件,首先安装依赖
pip3 install pyautogui
然后 Python3 运行,MacOS 自带的 Python3 应该可以了,高手请用 uv 管理依赖
python3 auto.py
在 Mac 上,第一次运行会跳出 enable accessibility,在设置里面开启即可。
Code
import time
import pyautogui
# pyautogui.PAUSE = 0.5
if __name__ == "__main__":
print("Starting in 5 seconds... CLICK YOUR BROWSER NOW!")
time.sleep(5)
for i in range(50):
print("Simulating Offer")
pyautogui.hotkey('command', 't', interval=0.1)
pyautogui.hotkey('command', 'v', interval=0.1)
pyautogui.press('enter')
print("Automation finished.")
bash
edit 还有个不需要依赖的 shell 版本,复制到 terminal 就能用,复制完记得迅速点到 Safari 的界面
function autotab() {
# 1. Command + T
osascript -e 'tell application "System Events" to keystroke "t" using command down'
sleep 0.5
# 2. Command + V
osascript -e 'tell application "System Events" to keystroke "v" using command down'
sleep 0.2
# 3. Enter (Key code 36)
osascript -e 'tell application "System Events" to key code 36'
}
echo "https://www.americanexpress.com/us/credit-cards/business/business-credit-cards/american-express-business-platinum-credit-card-amex/" | pbcopy
sleep 10
repeat 50 autotab
windows
感谢 @ctzsm 的 windows 版本
43 个赞
我测试这个网站好像会被 Safari Private Browsing 识别为同一个 session,所以起不到刷 Offer 的作用,我打开的 10 个页面都是同一个 Offer。
Confirmed 就是同一个 session,pop-up 页面不能用于区分 session。
好吧。。我都是开个谷歌按住cmd点个十几下 然后一路cmd w 没有就可以换地区了 开的再多没有还是没有
这种task感觉更适合ahk写
1 个赞
看到你这么说,我也试了一下。在iphone chrome上点击那个link,用的wifi,出了AHA。换成流量,居然只点一次就刷到了 300k。以前在电脑 chrome,用 Wi-Fi 从来都刷不到。
现在的问题是:从来没有在手机上申请过信用卡。手机上也可以开两个tab,用后退大法吗?有dp吗?
ahk 是个 Windows 工具,这个 trick 核心还是 Safari Private Browsing 
有个更简单不需要任何依赖的 script, 但是这个东西其实超级危险,如果操作失误很麻烦 
function autotab() {
# 1. Command + T
osascript -e 'tell application "System Events" to keystroke "t" using command down'
sleep 0.5
# 2. Command + V
osascript -e 'tell application "System Events" to keystroke "v" using command down'
sleep 0.2
# 3. Enter (Key code 36)
osascript -e 'tell application "System Events" to key code 36'
}
sleep 10
autotab
autotab
autotab
autotab
autotab
autotab
autotab
autotab
autotab
autotab
rewasd
10
看来你确实深入研究了一下
我其实重点是这个trick不需要script… 真的要自动化的话还是得把检查也带上开一晚上 比如有没有safari webdriver之类的 检查到了之后keep session alive
不死心。又点了三次,每次都是300k。以为将来每次都是300k。点了第五次,出了AHA。
个人卡,能用这个刷出来 gold 100k 和 platinum 175k 吗
能刷的 offer 都可以用,但是个人 Platinum 只有 AHA 175K 吧。
rewasd
14
ahk
就是举个例子,mac的话直接automator录一下都可以
llbean
15
论坛里面我记得有人分享过的,这个核心是会过期的cookie,没过期前打开都会是一样的,甚至可以复制给其他人用