Multi-platform cookie validator untuk mengecek validitas cookie dari berbagai platform sosial media.
- ✅ Multi-platform support: Google/YouTube, Facebook, Instagram, Twitter/X, TikTok
- ✅ Auto-detection: Deteksi otomatis platform dari cookie
- ✅ Username extraction: Ekstrak username dari cookie yang valid
- ✅ Colorful CLI: Interface terminal dengan warna
- ✅ File support: Baca cookie dari file
cookies.txt - ✅ Error handling: Tangani error dengan baik
# Clone repository
git clone https://github.com/username/cookie-checker.git
cd cookie-checker
# Setup virtual environment
python3 -m venv venv
source venv/bin/activate # Linux/Mac
# atau venv\Scripts\activate # Windows
# Install dependencies
pip install -r requirements.txtpython cookie_checker.pyPilih opsi:
- Check single cookie: Paste cookie string langsung
- Check from file: Baca dari
cookies.txt - Exit: Keluar
Cookie string format:
name1=value1; name2=value2; name3=value3
__Secure-3PSID=xxx; __Secure-3PAPISID=yyy; SID=zzz
Bisa juga digunakan sebagai library:
from cookie_checker import CookieChecker
checker = CookieChecker()
result = checker.check_all("your_cookie_string_here")
print(json.dumps(result, indent=2))| Platform | Endpoint | Status Check |
|---|---|---|
| Google/YouTube | youtube.com, myaccount.google.com | Login state, username |
| facebook.com/me | Profile access | |
| instagram.com/accounts/edit | Account settings | |
| Twitter/X | twitter.com/home | Home timeline |
| TikTok | tiktok.com | User session |
============================================================
Results (5 cookies):
✓ Google: Valid - User: user@example.com
✗ Facebook: Invalid - Not logged in
✓ Instagram: Valid - User: insta_user
✗ Twitter/X: Invalid - Not logged in
✓ TikTok: Valid - User: tiktok_user
============================================================
- Fork repository
- Buat branch fitur (
git checkout -b feature/awesome-feature) - Commit changes (
git commit -m 'Add awesome feature') - Push ke branch (
git push origin feature/awesome-feature) - Buat Pull Request
MIT License