wahdalo / tiktok-src

Tiktok downloader & auto upload to reels facebook (with puppeteer)
MIT License
156 stars 58 forks source link

tiktok-src

Tiktok downloader & auto upload to Facebook Reels (using Puppeteer).

Features

Installation

Prerequisites

  1. Access to the Facebook web interface (please ensure you are logged in).
  2. Chrome browser extension "Export cookies JSON file for Puppeteer" installed.

Steps

  1. Export Facebook Cookies:

  2. Clone this Repository:

    git clone https://github.com/wahdalo/tiktok-src
    cd tiktok-src
  3. Replace cookies.json

    • Replace the cookies.json file in the root directory with the exported file from the extension.
  4. Install Dependencies:

    npm install
  5. Run the Script:

    node index.js
  6. Input TikTok Video Link:

    • Paste the TikTok video link when prompted. image

Telegram Bot feature (Optional)

  1. Create a Telegram Bot:

    • Create a bot in "BotFather".
    • Copy the token from BotFather into the config.json file.
  2. Run the Bot:

    node telebot.js
  3. Paste TikTok Video URL:

    • Paste your TikTok video URL into the Telegram bot that you have created. image

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

  1. Fork the repository
  2. Create a new branch (git checkout -b feature/your-feature)
  3. Commit your changes (git commit -am 'Add awesome feature')
  4. Push to the branch (git push origin feature/your-feature)
  5. Create a new Pull Request

Powered by TEA

LIVE ON TEA