Skip to content

Commit

Permalink
Add random tt_webid_V2
Browse files Browse the repository at this point in the history
  • Loading branch information
captaincolonelfox committed Jan 19, 2022
1 parent d6894d4 commit a588394
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bot/handlers/messages.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import random
from datetime import datetime
from aiogram.types import Message
from bot import dp, bot
Expand All @@ -11,7 +12,7 @@
headers={
"Referer": "https://www.tiktok.com/",
"User-Agent": f"{USER_AGENT} ({datetime.now().timestamp()})",
}, cookies={'tt_webid_v2': '1234567890123456789'},
}, cookies={'tt_webid_v2': f"{random.randint(10 ** 18, (10 ** 19) - 1)}"},
)


Expand Down

0 comments on commit a588394

Please sign in to comment.