Initial commit

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Todd
2026-03-29 22:42:55 -04:00
commit 0d7b2b1aab
389 changed files with 280296 additions and 0 deletions

30
tests/test_toolzu_captcha.sh Executable file
View File

@@ -0,0 +1,30 @@
#!/bin/bash
# Quick test of Toolzu with 2captcha
echo "Testing Toolzu Stories download with 2captcha support..."
echo ""
cd /opt/media-downloader
# Create test config
cat > /tmp/toolzu_test_config.json << 'INNER_EOF'
{
"username": "evalongoria",
"content_type": "stories",
"temp_dir": "/tmp/toolzu_test",
"days_back": 3,
"max_downloads": 5,
"headless": false,
"db_path": "/opt/media-downloader/database/media_downloader.db",
"twocaptcha_api_key": "cf57fdb7577ada64d150431d6589c8f4",
"cookie_file": "/opt/media-downloader/cookies/toolzu_cookies.json",
"toolzu_email": "",
"toolzu_password": ""
}
INNER_EOF
# Run test
timeout 180 ./venv/bin/python ./toolzu_subprocess_wrapper.py < /tmp/toolzu_test_config.json
echo ""
echo "Test complete!"