Skip to content

Commit e450bfe

Browse files
committed
fix: replace audio download url
1 parent 35c6e28 commit e450bfe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "reddownload"
3-
version = "0.2.3"
3+
version = "0.2.4"
44
edition = "2021"
55
license = "MIT"
66
authors = ["Neil Bryson Cargamento <neilbrysonmc@gmail.com>"]

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async fn main() -> Result<()> {
6767
);
6868

6969
let base_url: Vec<&str> = reddit_video.fallback_url.split("DASH").collect();
70-
let audio_url = format!("{}DASH_audio.mp4", base_url.get(0).unwrap());
70+
let audio_url = format!("{}HLS_AUDIO_128.aac", base_url.get(0).unwrap());
7171

7272
println!("Downloading audio from {}", &audio_url);
7373
let audio_file_path = download_file(

0 commit comments

Comments
 (0)