mirror of
https://github.com/kristoferssolo/tg-relay-rs.git
synced 2026-02-25 05:08:15 +00:00
fix(tiktok): add tiktok cookie
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user