Anonymous 10/06/2025 (Mon) 13:33 No.21399 del
>>21398
Call it like so:
result = get_source_encode("7557058101258620191")
Should return you a dict with
{"play_url": "https://directlinktovideo.mp4", "size":"somesizeinbytes"}
then curl the play_url (so result["play_url"])
if it returns None then it failed so you should check if the result is None first.
Pretty sure that's all.
You can literally drop it into the folder you have your script in (rename it to utils.py), do
from utils import get_source_encode
as an import on top and it should be available.