MohammadAG
|
2011-05-22
, 11:48
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#321
|
The Following User Says Thank You to MohammadAG For This Useful Post: | ||
|
2011-05-22
, 13:15
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#322
|
The Following User Says Thank You to MohammadAG For This Useful Post: | ||
|
2011-05-22
, 13:17
|
Posts: 12 |
Thanked: 3 times |
Joined on Sep 2010
@ hungary
|
#323
|
|
2011-05-22
, 13:55
|
Posts: 27 |
Thanked: 17 times |
Joined on Jun 2010
|
#324
|
Push notifications won't be implemented anytime soon (I'll be honest, I have no idea how to implement them), but with auto-refresh, the UI will notify you about new items (with an auto refresh rate of 5 minutes, that's enough methinks )
Vibration and LED are also supported (and configurable)
Edit: oh and I'm stuck on getting the cookie again :/
|
2011-05-22
, 13:57
|
|
Posts: 2,448 |
Thanked: 9,523 times |
Joined on Aug 2010
@ Wigan, UK
|
#325
|
marxian, any ideas on how to get the cookie (then pass it)?, I've looked at cutetube and it doesn't seem to be doing that.
void YouTube::getVideoUrl(const QString &videoId) { QString playerUrl = "http://www.youtube.com/get_video_info?&video_id=" + videoId + "&el=detailpage&ps=default&eurl=&gl=US&hl=en"; QNetworkAccessManager *manager = new QNetworkAccessManager(this); QNetworkRequest request; request.setUrl(QUrl(playerUrl)); connect(manager, SIGNAL(finished(QNetworkReply*)), this, SLOT(parseVideoPage(QNetworkReply*))); manager->get(request); } void YouTube::parseVideoPage(QNetworkReply *reply) { QNetworkAccessManager *manager = qobject_cast<QNetworkAccessManager*>(sender()); qDebug() << manager->cookieJar()->cookiesForUrl(reply->request().url()); ...
(QNetworkCookie("use_hitbox=72c46ff6cbcdb7c5585c36411b6b334edAEAAAAw; domain=.youtube.com; path=/") , QNetworkCookie("VISITOR_INFO1_LIVE=-DzhOBbT2vs; expires=Tue, 17-Jan-2012 13:49:30 GMT; domain=.youtube.com; path=/") , QNetworkCookie("GEO=a2731021266fb55d211af8f75b6cb61fcwsAAAAzR0JShPI6TdkUag==; domain=.youtube.com; path=/") , QNetworkCookie("s_gl=18f5cd48020458e865a469a7155238dacwIAAABVUw==; domain=.youtube.com; path=/") )
The Following 6 Users Say Thank You to marxian For This Useful Post: | ||
|
2011-05-22
, 17:06
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#326
|
The Following 11 Users Say Thank You to MohammadAG For This Useful Post: | ||
|
2011-05-22
, 18:30
|
|
Posts: 234 |
Thanked: 281 times |
Joined on Nov 2010
@ Helsinki
|
#327
|
|
2011-05-22
, 18:31
|
|
Posts: 2,448 |
Thanked: 9,523 times |
Joined on Aug 2010
@ Wigan, UK
|
#328
|
The Following 2 Users Say Thank You to marxian For This Useful Post: | ||
|
2011-05-22
, 18:49
|
|
Posts: 159 |
Thanked: 53 times |
Joined on Jan 2011
@ Romania, Cluj-Napoca
|
#329
|
The Following 3 Users Say Thank You to geojoking For This Useful Post: | ||
|
2011-05-22
, 19:17
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#330
|
The Following 3 Users Say Thank You to MohammadAG For This Useful Post: | ||
Tags |
facebook, facebook client |
|