Kimmax / Flash-dl

Flash(Youtube) Downloader using SYMM
GNU General Public License v2.0
0 stars 0 forks source link

Streaming? #17

Closed p1Ggy closed 7 years ago

p1Ggy commented 7 years ago

Hello @Kimmax,

How would I stream without using the API key is that possible or is the API Key required?

Kimmax commented 7 years ago

It's been a while. But I'm pretty confident, that the stream function does not use the youtube api, so just try providing any string as key. If you get any 401's you need a key. I'm not even sure if the backend still works, the extract functions haven't been updated in a while

p1Ggy commented 7 years ago

@Kimmax ya I receive this

Flash-dl> StreamAudio https://www.youtube.com/watch?v=5LxBx2Z0I6s
Loading data..
Google.Apis.Requests.RequestError
Bad Request [400]
Errors [
        Message[Bad Request] Location[ - ] Reason[keyInvalid] Domain[usageLimits]
]
Kimmax commented 7 years ago

Yeah, so as you can see it response with keyInvalid, so it indeed uses the YouTube API. In that case you need a working key. You could implement and run a proxy server somewhere, so that you don't have to handle the API stuff client side or you will have to throw out the SYMM Backend and find another solution

p1Ggy commented 7 years ago

Ya thanks @Kimmax