fix(tiktok): add tiktok cookie

This commit is contained in:
2025-10-27 11:02:44 +02:00
parent 24bfeb4efc
commit 0b6012e383
2 changed files with 3 additions and 1 deletions

View File

@@ -136,7 +136,7 @@ pub async fn download_tiktok(url: &str) -> Result<DownloadResult> {
.map(ToString::to_string)
.collect::<Vec<_>>();
if let Ok(cookies_path) = env::var("IG_SESSION_COOKIE_PATH") {
if let Ok(cookies_path) = env::var("TIKTOK_SESSION_COOKIE_PATH") {
args.extend(["--cookies".into(), cookies_path]);
}