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

didn't do anything on OSX #8

Open
dataf3l opened this issue Apr 10, 2017 · 5 comments
Open

didn't do anything on OSX #8

dataf3l opened this issue Apr 10, 2017 · 5 comments

Comments

@dataf3l
Copy link

dataf3l commented Apr 10, 2017

$ cargo run -- l6zpi90IT1g
Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
Running target/debug/youtube-downloader l6zpi90IT1g
1- hd720 video/mp4; codecs="avc1.64001F, mp4a.40.2"
2- medium video/webm; codecs="vp8.0, vorbis"
3- medium video/mp4; codecs="avc1.42001E, mp4a.40.2"
4- small video/3gpp; codecs="mp4v.20.3, mp4a.40.2"
5- small video/3gpp; codecs="mp4v.20.3, mp4a.40.2"
Choose quality:
3
Please wait...
Download is starting...
0 / 0 NaN % 0.00/s

no idea why it failed...

@tcbyrd
Copy link

tcbyrd commented Apr 10, 2017

Confirmed on my machine. Seems like its related to videos that are monetized. Every video I've tried without pre-roll ads works, but ones with ads do not.

@daniellockyer
Copy link
Contributor

Interesting...

The response I get is:

Response { status: Forbidden, headers: Headers { Last-Modified: Wed, 02 May 2007 10:26:10 GMT
, Content-Type: text/plain
, Content-Length: 0
, Connection: close
, X-Content-Type-Options: nosniff
, Date: Wed, 12 Apr 2017 10:55:27 GMT
, Server: gvs 1.0
, }, version: Http11, url: "https://r19---sn-aigllnll.googlevideo.com/videoplayback?itag=22&gcr=gb&initcwndbps=4580000&mime=video%2Fmp4&upn=GBjAh37Ao3k&mt=1491994408&expire=1492016125&ei=nQfuWJ3bI4bLWb6KtcgB&pl=42&ms=au&source=youtube&mv=m&key=yt6&ip=2001%3A630%3Ad0%3Aed23%3A949d%3Ad35c%3Ac358%3A7ce1&lmt=1472260352191446&dur=5655.475&id=o-AJMFHXSo8p5i_nWLllN9ef0nc42EKnzSBLK0RYa8WUtc&mm=31&mn=sn-aigllnll&requiressl=yes&ipbits=0&sparams=dur%2Cei%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&ratebypass=yes", status_raw: RawStatus(403, "Forbidden"), message: Http11Message { is_proxied: false, method: None, stream: Wrapper { obj: Some(Reading(SizedReader(remaining=0))) } } }

Note Forbidden.

@smoqadam
Copy link
Owner

Have you tested with different video id?

@dataf3l
Copy link
Author

dataf3l commented Apr 17, 2017

I'm using pytube at the moment, it seems to have worked on the same video.

@ritiek
Copy link

ritiek commented May 22, 2017

I can confirm this on Raspberry Pi running Raspbian Jessie 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

5 participants