Skip to content

💬 Tampermonkey Auto DM - Automated direct messaging script for Instagram

Notifications You must be signed in to change notification settings

Jeffrey0117/tampermonkey-atuo-dm

Repository files navigation

Instagram 自動化訊息發送工具 (MVP)

快速開始

1. 安裝依賴

pip install -r requirements.txt

2. 設定登入資訊

複製 config.json.exampleconfig.json 並填入你的 Instagram 登入資訊:

{
  "username": "your_instagram_username",
  "password": "your_instagram_password"
}

3. 確認 ID 列表

確保 prd.md 檔案包含要發送訊息的 Instagram ID 列表(每行一個 ID)。

4. 執行腳本

python main.py

功能說明

  • 自動讀取 prd.md 中的 Instagram ID
  • 自動登入 Instagram
  • 依序發送訊息給每個 ID
  • 自動處理延遲和錯誤

訊息內容

🎁 我為你準備了一份專屬資料包!
輸入關鍵字「跌倒」即可免費領取:
https://keybox.cc/NSJHKj
🚀 立即解鎖專屬內容!

注意事項

⚠️ 重要警告

  • 此工具可能違反 Instagram 服務條款
  • 使用前請確保遵守相關法律法規
  • 建議僅用於測試和學習目的
  • 過度使用可能導致帳號被封鎖

檔案說明

  • main.py - 主程式
  • prd.md - Instagram ID 列表
  • config.json - 登入設定(需自行創建)
  • requirements.txt - Python 依賴套件
  • instagram_bot.log - 執行日誌(自動生成)

疑難排解

  1. 無法啟動瀏覽器:確保已安裝 Chrome 瀏覽器
  2. 登入失敗:檢查用戶名和密碼是否正確
  3. 找不到元素:Instagram 介面可能有變化,需要更新選擇器

此工具僅供學習和研究目的使用

About

💬 Tampermonkey Auto DM - Automated direct messaging script for Instagram

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published