Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
reteps committed Dec 4, 2024
1 parent 7e32bd1 commit 2a27949
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sigpwny.com/src/scripts/kaltura2youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2a27949

Please sign in to comment.