2014-01-14, 12:12
(2014-01-13, 12:57)enigma83 Wrote: This fixes login for me.
Code:--- a/plugin/YouTubeLogin.py
+++ b/plugin/YouTubeLogin.py
@@ -188,7 +188,7 @@ class YouTubeLogin():
fetch_options = False
# Check if we are logged in.
- nick = self.common.parseDOM(ret["content"], "p", attrs={"class": "masthead-expanded-acct-sw-id2"})
+ nick = self.common.parseDOM(ret["content"], "span", attrs={"id": "yt-masthead-user-displayname"})
I can't get live streams to work though.
Code:CurlFile::Open(0x7f0bf83a25d0) http://www.youtube.com/api/manifest/hls_playlist/id/0rrzPh1Ys5Y.1/itag/96/source/yt_live_broadcast/ratebypass/yes/live/1/cmbypass/yes/newshard/yes/hls_chunk_host/www.youtube.com/gir/yes/dg_shard/0rrzPh1Ys5Y.1_96/cp/U0hXTlZOTl9FT0NON19OSFJKOkRRUzM1aE1XMzVG/maudio/1/playlist_type/LIVE/pmbypass/yes/sver/3/upn/XHV-w4HztuM/fexp/903903,911429,914093,916623,936118,938630,936910,936913,907231,907240,921090/ip/124.170.95.47/ipbits/8/expire/1389630905/sparams/ip,ipbits,expire,id,itag,source,ratebypass,live,cmbypa
20:47:47 T:139688842815232 WARNING: FillBuffer: curl failed with code 22
Error 22 in curl means 403, so not sure how well logins are working. I do know that my subscriptions show up, so it seems like it works.
You are a legend! Thank you so much.