{"id":20857401,"url":"https://github.com/maron09/tiktok-posttracker","last_synced_at":"2026-04-21T17:39:03.562Z","repository":{"id":164725078,"uuid":"640165613","full_name":"Maron09/TikTok-PostTracker","owner":"Maron09","description":"A script that checks a TikTok user's account every 30 secs and once a post is made it downloads the latest video of the user saving it with the username and datetime ","archived":false,"fork":false,"pushed_at":"2023-05-17T07:10:45.000Z","size":13538,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T13:44:31.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Maron09.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-13T07:40:41.000Z","updated_at":"2023-05-13T07:47:20.000Z","dependencies_parsed_at":"2023-07-14T14:46:24.722Z","dependency_job_id":null,"html_url":"https://github.com/Maron09/TikTok-PostTracker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Maron09/TikTok-PostTracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maron09%2FTikTok-PostTracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maron09%2FTikTok-PostTracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maron09%2FTikTok-PostTracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maron09%2FTikTok-PostTracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Maron09","download_url":"https://codeload.github.com/Maron09/TikTok-PostTracker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maron09%2FTikTok-PostTracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32102897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-18T04:38:38.774Z","updated_at":"2026-04-21T17:39:03.544Z","avatar_url":"https://github.com/Maron09.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TikTok-PostTracker\n\n\nThe TikTok PostTracker is a Python script that allows you to track and automatically download the most recent video from a TikTok user's profile. It utilizes web scraping techniques to extract the video URL and then downloads the video using the `ssstik.io` service.\n\n**Prerequisites**\n\n\n_Python 3.x_\n\n_requests library_\n\n_beautifulsoup4 library_\n\n_urllib library_\n\n\n**Setup**\n\n\nInstall the required libraries:\n\nrequests: A library for making HTTP requests.\nbeautifulsoup4: A library for parsing HTML and XML documents.\nurllib: A library for handling URLs and file downloading.\nImport the necessary libraries:\n\nrequests: Import the requests module for making HTTP requests.\nbeautifulsoup4: Import the BeautifulSoup module for parsing HTML documents.\nurllib: Import the urlopen and Request functions for downloading files.\n\n**Usage**\n\n\nSpecify the **TikTok profile username**:\n\nSet the username variable to the TikTok profile username you want to track and download videos from.\nSpecify the save directory:\n\nSet the save_dir variable to the directory path where you want to save the downloaded videos.\nIf the directory does not exist, the script will create it automatically.\nSpecify the path to the downloaded videos file:\n\nSet the downloaded_videos_file variable to the path of the text file where the script will keep track of the downloaded videos.\nIf the file does not exist, the script will create it automatically.\nRun the script:\n\nExecute the script and it will start monitoring the TikTok user's profile for new videos.\nIt will check for the most recent video at regular intervals (every 30 seconds by default).\nIf a new video is found, it will download the video and save it to the specified directory.\nThe downloaded video URL will be recorded in the downloaded videos file to avoid downloading duplicates.\nStop the script:\n\nTo stop the script, you can terminate the program manually.\n\n\n**Limitations**\n\n\nThe script relies on the structure of the TikTok website and the ssstik.io service, so any changes to these platforms may break the scraping and downloading process.\nThe script does not handle exceptions or errors gracefully. Additional error handling and validation should be implemented for a more robust solution.\nThe script assumes that the downloaded videos file is formatted as a simple text file with one video URL per line.\n\n**Disclaimer**\n\n\nPlease be aware of the legal implications of web scraping and video downloading. Make sure to review and comply with TikTok's terms of service and respect the privacy of users.\nUse this script responsibly and in accordance with TikTok's terms of service and any applicable laws and regulations.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaron09%2Ftiktok-posttracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaron09%2Ftiktok-posttracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaron09%2Ftiktok-posttracker/lists"}