Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status 403 Error on executing example #49

Open
morganhiggin2 opened this issue Nov 11, 2024 · 3 comments
Open

Status 403 Error on executing example #49

morganhiggin2 opened this issue Nov 11, 2024 · 3 comments

Comments

@morganhiggin2
Copy link

Upon executing the example:
`use rusty_ytdl::*;

#[tokio::main]
async fn main() {
let url = "https://www.youtube.com/watch?v=FZ8BxMU3BYc";

let video = Video::new(url).unwrap();

let path = std::path::Path::new(r"test.mp3");

video.download(path).await.unwrap();

}`

I get the following error
called Result::unwrap()on anErr value: Reqwest(reqwest::Error { kind: Status(403), url: "https://rr5---sn-a5msenle.googlevideo.com/videoplayback?expire=1731314716&ei=vG8xZ4joMMSpsfIPjLKjQA&ip=2600%3A8800%3Aa980%3A1f%3A7d29%3A3e%3Ad670%3A2cf5&id=o-AJQrCQ5U0Uv7MQCyyXMKeOHSQEXbolRD1DbKl5kQ-t08&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1731293116%2C&mh=0_&mm=31%2C29&mn=sn-a5msenle%2Csn-2imeyn7k&ms=au%2Crdu&mv=m&mvi=5&pl=41&rms=au%2Cau&initcwndbps=3992500&bui=AQn3pFTSRwHHkLPhXe4NMDCPyznREnWIa7AdwN_tgFoLyYXqITI2YOiMCCZ1vSY-UbEIvPXs5a_0PuQa&spc=qtApAUlw6X64ZYnHNciDCIb3NtH1MBCZRUNBEzgSdsI7pLaWODJnAM_PCHLF&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=-qUpMCVZmMbuYm_zEOPIyl8Q&rqh=1&gir=yes&clen=3213150&dur=192.061&lmt=1714645872476603&mt=1731292863&fvip=4&keepalive=yes&fexp=51312688%2C51326932&c=WEB&sefc=1&txp=4502434&n=Orjl1PRGnSY4Og&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=AGluJ3MwRQIgCD5pwwmuOVU6_Q1au0o0E9gQdxmN5OHwdX37eP_pweECIQDK_wMIP_h9EcCHNMvUHKqVsGNptAVXzgp3WcabK58hOw%3D%3D&sig=AJfQdSswRQIhAJDnMe-TZYtwzGukFyLrpRxQuvs7R6HCd4oo12q5g-2_AiA698T_t6naL0oz6-7Posc1rADtAmyu6uF984rdMynrog%3D%3D" })

Could this be due to a google api update?
Could this be related?
DzenanJupic/rustube#73
And is anyone else able to replicate the issue?

@imjord
Copy link

imjord commented Nov 15, 2024

getting same issue with the download example code

@kitalia
Copy link

kitalia commented Nov 17, 2024

Same here

@DCNick3
Copy link
Contributor

DCNick3 commented Dec 13, 2024

It worked for me till ~8 Dec, but now I am getting 403 too :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants