A lightweight script to scrape video links from YouTube Shorts and TikTok based on a specific date range.
- Clone the repo
- Configure credentials (refer to config.example.json)
- Fill in credentials
YouTube: Requires Google Cloud API Key with "YouTube Data API v3" enabled
TikTok: Requires a RapidAPI key (specifically tiktok)
Instagram: Requires a RapidAPI key (specifically instagram)
Refer to the included Makefile. Results are saved to the output/ directory
make run-all
make tiktok
make youtube
make instagram
.
├── config.example.json
├── config.json # local config
├── go.mod
├── go.sum
├── internal
│ ├── config
│ │ └── config.go
│ ├── fetcher
│ │ ├── instagram.go # Instagram implemtation
│ │ ├── platform.go
│ │ ├── tiktok.go # TikTok implementation
│ │ └── youtube.go # YouTube implementation
│ └── writer
│ └── writer.go # unified ouptput writer
├── main.go
├── Makefile
└── README.md
[ ] Better error handling
[ ] Custom output format
[ ] Unify platform logic
[ ] Add tests