From 2a2794919b6f0e492c3d1a4e326c65fadaca077d Mon Sep 17 00:00:00 2001 From: Pete Stenger Date: Wed, 4 Dec 2024 17:23:17 -0600 Subject: [PATCH] remove debug --- sigpwny.com/src/scripts/kaltura2youtube.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sigpwny.com/src/scripts/kaltura2youtube.py b/sigpwny.com/src/scripts/kaltura2youtube.py index 26f7546d..dc1fed17 100644 --- a/sigpwny.com/src/scripts/kaltura2youtube.py +++ b/sigpwny.com/src/scripts/kaltura2youtube.py @@ -101,9 +101,9 @@ def fetch_media(username, password): s.post(html.unescape(url), data={'SAMLResponse': body, "RelayState": html.unescape(relay)}) - # for debugging, uncomment this - s = requests.Session() - s.cookies.set('kms_ctamuls', "75br1kn1n7ctjs7siqj2moolbm") + # for debugging, uncomment this and use a valid Kaltura cookie. + # s = requests.Session() + # s.cookies.set('kms_ctamuls', "75br1kn1n7ctjs7siqj2moolbm") body = {"controller": "user", "action": "user-media", "page": "1"} res = s.post(f'{KALTURA_BASE}/my-media', json=body)