• 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 13
NBC Peacock Addon Request
#91
right on
it's still working good for me, i noticed 2 things of note but nothing really important

if you copy your cookies from your browser - do not sign out on your browser it will invalidate them (should have been obvious but i found out the hard way)
occasionally it will say unable to play item but selecting it a second time it will play as expected - it hasnt been consistent enough to track just yet, sporadic with no apparent reason
Reply
#92
ok guys im a bit stuck with the cookie file............

can anyone give me a hand in which stuff i copy....there are loads of cookie related stuff when i open network tools

thanks
Reply
#93
(2023-03-16, 00:38)jepsizofye Wrote: if you copy your cookies from your browser - do not sign out on your browser it will invalidate them (should have been obvious but i found out the hard way)
Good to know. That explains some things.
Reply
#94
Could someone please explain in simple terms how to download the cookie part once logged in via a browser.

All the rest is done with the addon installed and ready to go just struggling to login.
Reply
#95
there is no simple terms because its not a simple operation, think of this as developer testing at the moment

that being said this is what's being done to get the cookies until the login is worked out

-----

once in your browser's developer tools, go to the network tab and load pretty much anything from peacock

inspect one of the transfers to make sure it has cookies, one of the cookies with include "idsessionstate" so you know you're in one that has the right cookies

right click on the url on the left, select copy as curl - here's one method for firefox https://www.scrapingbee.com/tutorials/ho...om-firefox

open a blank text document, paste it, in there you will see something that looks like -H "cookie: " with a whole bunch of garbage inside the quotes

you need to copy everything from the cookie: part excluding the word cookie, the colon and the space all the way to the next closing quote


for example

curl -H 'cookie: mycookie=something;'

you need the part that says
mycookie=something;

paste those contents to userdata/addon_data/plugin.video.skyott/peacocktv/cookie.conf and save

send to your android with adb push or another method
Reply
#96
That makes much more sense and should be easy enough to follow.

I'll do it tonight when I get home and give the add-on some testing this weekend.

Thanks so much.
Reply
#97
I'm going to try to make a tool to make it easier to extract the cookie from the web browser.
Reply
#98
Brilliant work can i ask how often cookie will last, is it something that will need to be done every day or so?
Reply
#99
You can use https://chrome.google.com/webstore/detai...bbkoibbcif. It has a option to export the http cookie header
Reply
will this work on firestick ?
Reply
I tested on an old firestick, and yes it works.
Reply
To make easier to get the cookie I wrote this tool:
https://github.com/Paco8/SkyExtractCookie

You run it, it will open a Chrome window, you log in to peacocktv, the tool will grab the cookie and save it to a file (skyauthentication.key). You then copy this file to your android device (for example to the download folder) and now you use the new option in the addon to "log in with a key file", you select the key file and the addon will install the cookie in the correct place.
Reply
That is working great on my Nvidia Shield.

Thanks so much for your work on this, waited so long for a Peacock addon for Kodi.
Reply
https://github.com/Paco8/SkyExtractCookie

downloaded the macversion
after unning it 
it quickly opens a chrome window and it shuts automatically 

and says this 
An error occurred:
Handshake status 403 Forbidden
Traceback (most recent call last):
  File "SkyExtractCookie.py", line 68, in __init__
  File "SkyExtractCookie.py", line 88, in operations
  File "SkyExtractCookie.py", line 135, in get_browser_debug_endpoint
  File "websocket/_core.py", line 594, in create_connection
  File "websocket/_core.py", line 253, in connect
  File "websocket/_handshake.py", line 79, in handshake
  File "websocket/_handshake.py", line 165, in _get_resp_headers
websocket._exceptions.WebSocketBadStatusException: Handshake status 403 Forbidden

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]
Reply
Based on this post , I don't think it works on your device.
Reply
  • 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 13

Logout Mark Read Team Forum Stats Members Help
NBC Peacock Addon Request0