View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#810
Originally Posted by Reffyyyy View Post
Kind of off topic but going to ask anyway:

Marxian, would it be possible to share how you got the higher resolutions available in your application? When using the api, I can only access low quality streams.

Thanks.
You need to parse the video webpage in order to get the streams. I currently use QNetworkAccessManager to do this (along with all the other HTTP GET/POST requests), but I also have a JavaScript XmlHttpRequest function that I wrote. I switched to QNetworkAccessManager because I could not get the HTTP POST requests to work using XmlHttpRequest.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub
 

The Following User Says Thank You to marxian For This Useful Post: