Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Switch from users to channels
Browse files Browse the repository at this point in the history
  • Loading branch information
foobert committed Mar 5, 2019
1 parent 367cba8 commit 313b145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fn main() {

let args: Vec<String> = env::args().collect();
assert!(args.len() > 1);
let url = format!("https://www.youtube.com/user/{}/videos", &args[1]);
let url = format!("https://www.youtube.com/channel/{}/videos", &args[1]);
let re = match args.len() {
3 => Regex::new(&args[2]).unwrap(),
_ => Regex::new("").unwrap(),
Expand Down

0 comments on commit 313b145

Please sign in to comment.