Last active
May 7, 2026 13:49
-
-
Save akash-gajjar/24fc183f6b25c74750606606f2319d01 to your computer and use it in GitHub Desktop.
Download videos from TLDV.io
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from datetime import datetime | |
| from os import system | |
| import requests | |
| import json | |
| ## Please install ffmpeg before running this script and make sure it's in your PATH | |
| ## brew install ffmpeg | |
| ## Please install requests before running this script | |
| ## pip3 install requests | |
| ## download video from tldv.io | |
| ## | |
| ## 1. Go to https://tldv.io/ | |
| ## 2. Login | |
| ## 3. Go to the meeting you want to download | |
| ## 4. Copy the URL of the meeting | |
| ## 5. Open the developer tools (F12) | |
| ## 6. Go to the network tab | |
| ## 7. Refresh the page | |
| ## 8. Find the request to https://gw.tldv.io/v1/meetings/64145828ced74b0013d496ce/watch-page?noTranscript=true | |
| ## 9. Copy the auth token from the request headers | |
| ## 10. Run this script and paste the URL and auth token | |
| ## 11. python3 tldv.py | |
| url = input("Please paste the URL of the meeting you want to download: ") | |
| meeting_id = url.split("/")[-1] | |
| print("\rFound meeting ID: ", meeting_id) | |
| auth_token = input("Auth token: ") | |
| data = requests.get( | |
| f"https://gw.tldv.io/v1/meetings/{meeting_id}/watch-page?noTranscript=true", | |
| headers={ | |
| "Authorization": auth_token, | |
| }, | |
| ) | |
| try: | |
| response = json.loads(data.text) | |
| meeting = response.get("meeting", {}) | |
| name = meeting.get("name", "No name") | |
| createdAt = meeting.get("createdAt", datetime.now()) | |
| source = response.get("video", {}).get("source", None) | |
| date = datetime.strptime((createdAt), "%Y-%m-%dT%H:%M:%S.%fZ") | |
| normalised_date = date.strftime("%Y-%m-%d-%H-%M-%S") | |
| filename = f"{normalised_date}_{name}" | |
| filename_ext = ".mp4" | |
| command = f'ffmpeg -i {source} -c copy "{filename}.{filename_ext}"' | |
| json_filename = f'{filename}.json' | |
| with open(json_filename, "w") as f: | |
| f.write(data.text) | |
| print(command) | |
| print("Downloading video...") | |
| system(command) | |
| except: | |
| print("Error encountered") | |
| print(data.text) |
wow.. congratulation.. it is working great
Em qui., 7 de mai. de 2026 às 08:29, Rostislav ***@***.***>
escreveu:
… ***@***.**** commented on this gist.
------------------------------
Hey everyone, I've added support for tldv.io manifests in my browser
downloader extension (it's free), works for me – could you give it a shot?
As I was developing this based on user report and can't verify if it works
everywhere on tldv.io
Max Video Downloader
<https://chromewebstore.google.com/detail/max-video-downloader-%E2%80%93-do/kjinbaahkmjgkkedfdgpkkelehofieke?utm_source=github&utm_medium=tldv-comment>
in Chrome Web Store
Screenshot.2026-05-07.at.10.53.39.png (view on web)
<https://gist.github.com/user-attachments/assets/503df2aa-7b16-401c-b7a2-68299e31e82d>
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/akash-gajjar/24fc183f6b25c74750606606f2319d01#gistcomment-6138225>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BBKXLCCKDZDAFHEBQJOV4LL4ZRXQLBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLKBXG43DSMRWGAY2I3TBNVS2QYLDORXXEX3JMSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVEYTEMJVGQ3TCMRZU52HE2LHM5SXFJTDOJSWC5DF>
.
You are receiving this email because you commented on the thread.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
--
*Fabiano Couto Pereira*
*Cell*: (27) 99737-2667
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey everyone, I've added support for tldv.io manifests in my browser downloader extension (it's free), works for me – could you give it a shot? As I was developing this based on user report and can't verify if it works everywhere on tldv.io
Max Video Downloader in Chrome Web Store