TeleTok

Telegram bot to download TikTok videos

MIT License

Stars
48
TeleTok - Release 5.0.0 Latest Release

Published by captaincolonelfox 8 months ago

Update

  • Remove photos mode (was broken, need to fix)
  • Migrate aiogram from 2 to 3
  • Update Dockerfile: use python:3.11.8-alpine
  • Small code refactoring and lint/type fixes
TeleTok - Release 4.1.0

Published by captaincolonelfox 10 months ago

Fix

  • Update script_id and ItemStruct path

Update

  • Download TikTok without watermark (with fallback to old downloadAddr)
TeleTok - Release 4.0.0

Published by captaincolonelfox over 1 year ago

Add

  • Download photo mode tiktoks

Update

  • Refactoring

Remove

  • Heroku stuff
  • sentry_sdk
  • Old environment variables
TeleTok - Release 3.4.0

Published by captaincolonelfox almost 2 years ago

Update

  • Fix for new html page (empty video_id field)
  • Remove parse_mode=Markdown because it was causing errors when emoji was in description
TeleTok - Release 3.3.0

Published by captaincolonelfox almost 2 years ago

Update

  • Add tiktok url and description to video caption
  • Add channel post handler
TeleTok - Release 3.2.0

Published by captaincolonelfox about 2 years ago

Update

  • Add USER_ID environment variable:
    Setting this variable will filter and handle messages only from specific user id
    Default: empty = all messages are handled
TeleTok - Release 3.1.2

Published by captaincolonelfox over 2 years ago

Update

  • Set random tt_webid_v2 header for every request
TeleTok - Release 3.1.1

Published by captaincolonelfox almost 3 years ago

Update

  • Set random User-Agent header for every request
    You can still set your own value with USER_AGENT env variable
TeleTok - Release 3.1.0

Published by captaincolonelfox almost 3 years ago

  • Add USER_AGENT env variable
    You MUST TO USE IT from now on - or you will get timeout
  • Add random tt_webid_v2 aswell to prevent fingertips timeout in future
TeleTok - Release 3.0.0

Published by captaincolonelfox almost 3 years ago

Update

  • New regular expression: Add video ID validation in case of response with videos from tranding page
  • Refactoring:
    • Remove MobileTikTokAPI, VideoData
    • Use async generators in handle_message() method
    • Remove cytoolz and bs4 from requirements.txt
TeleTok - Release 2.2.0

Published by captaincolonelfox almost 3 years ago

Update

  • Parse new TikTok page content with regexp groups
  • Refactor code
TeleTok - Release 2.1.0

Published by captaincolonelfox almost 3 years ago

Update:

  • Set argument follow_redirect=True in httpx.AsyncClient: from version httpx 0.20.0 you must to do it manually
  • Update requirements.txt
TeleTok - Release 2.0.3

Published by captaincolonelfox over 3 years ago

  • Update requirements.txt
TeleTok - Release 2.0.2

Published by captaincolonelfox over 3 years ago

  • New Tiktok API for mobile links (shared through mobile app)
  • Removed Likee
TeleTok - Release 1.5.3

Published by captaincolonelfox over 3 years ago

TeleTok - Release 1.5.2

Published by captaincolonelfox over 3 years ago

TeleTok - Release 1.5.1

Published by captaincolonelfox over 3 years ago

  • Increase client timeout to 30 seconds
TeleTok - Release 1.5.0

Published by captaincolonelfox over 3 years ago

  • Use context manager for AsyncClient
  • Add https protocol to url, if it doesnt have it
TeleTok - Release 1.4.0

Published by captaincolonelfox over 3 years ago

Add retries to download_video() method

TeleTok - Release 1.3.0

Published by captaincolonelfox over 3 years ago

Fix bug: NoneType has no attribute content