https://github.com/skevo18/autotok
https://github.com/skevo18/autotok
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/skevo18/autotok
- Owner: SKevo18
- Created: 2023-05-24T18:29:11.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-02T10:59:50.000Z (almost 2 years ago)
- Last Synced: 2025-01-26T11:11:14.388Z (4 months ago)
- Language: Python
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python AutoTok
A Python CLI tool that continuously listens to a TikTok account, and if it goes online, it downloads the stream and uploads it to YouTube.
## Get started
1. Clone the GitHub repository;
2. Obtain [YouTube API v3](https://developers.google.com/youtube/registering_an_application) `client_secret.json` and place it in the cloned repository's root (use OAuth 2 and `http://localhost:24053/` as redirect URI);
3. Run `python -m autotok.uploader` to auth via your YouTube account and pickle the generated token (keep your secrets safe!);
4. Finally, run `python -m autotok listen ` to listen for streams, download them and upload them (use `--no-upload` to not upload the downloaded stream file - you can use `python -m autotok upload --help` to upload them later);Note: this is still a work in progress!