mirror of
https://github.com/kristoferssolo/tg-relay-rs.git
synced 2025-12-20 11:04:41 +00:00
fix: remove instagram session file
This commit is contained in:
parent
d20d825905
commit
ebffa20ec9
@ -110,11 +110,7 @@ async fn run_command_in_tempdir(cmd: &str, args: &[&str]) -> Result<DownloadResu
|
||||
///
|
||||
/// - Propagates `run_command_in_tempdir` errors.
|
||||
pub async fn download_instaloader(shortcode: &str) -> Result<DownloadResult> {
|
||||
let session_file = env::var("IG_SESSION_PATH").unwrap_or_else(|_| "/app/ig-session".into());
|
||||
|
||||
let args = [
|
||||
"--sessionfile",
|
||||
&session_file,
|
||||
"--dirname-pattern=.",
|
||||
"--no-metadata-json",
|
||||
"--no-compress-json",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user