Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add support for Adobe Pass Auth TV Provider Cox Communications #11396
Comments
|
I'd rather not post my login details to a public issue. Is there an email address I can send them to? An aside, adding the label doesn't appear to send a notification so I didn't realize you were waiting on a response. |
|
Well, the label might be misleading. Actually it means "if a developer wants to fix it, an account is necessary". That is, there's no developer working on this yet. Those who are interested will post his/her email address here and ask for credentials. |
|
duplicate of #10871. |
|
I don't think Charter and Cox are the same thing? I'm not sure how this ended up titled with "Charter" references, I didn't realize I'd titled it that. I have no interest in Charter, just Cox. |
|
Hello. I would also like to request support for Cox Communications as an Adobe Pass MSO option.
I'm running windows but I could try linux so that I can run the uncompiled python. I read the post about Charter referenced above. Can I just update the adobepass.py file with the mso_id of Cox?
I'd really appreciate a pointer in the right direction here. Thanks. |
|
Is it really possible to just do a
and then run Any chance some super cool python developer/linux kung-fu master can compile a windows binary with the above changes for me to try? Thanks! |
|
Okay, so I got python for windows and and changed the adobepass.py but the Cox login page uses "username" and "password"
so I put in the following:
I found a locked video on Comedy Central, that had failed to work without credentials before. (Don't judge my video selection) And then I ran: and--holy crap!--stuff started to happen!
but then it all fell apart
Now I have to try and work ffmpeg into windows/python. Hrm. Anyway, it looks like that adobepass.py MSO edit works for Cox so hopefully someone out there will notice this if they need it. |
no, testing on Comedy Central does not prove that the change is working, Comedy Central extractor does not support Adobe Pass authentication. |
|
So, installed ffmpeg and used Thanks to @tv21 in the other thread for pointing me in the right direction. |
|
Aaaaaand I broke it. [debug] System config: [] |
|
I don't understand because if I inspect the login page using chrome I find:
Which seems to have the POST url. I don't get Regex. |
|
In response to @remitamine, I was able to download a comedy central episode that was locked and required me to login to Cox when using chrome. If Comedy Central doesn't use Adobe Pass, then how was I able to use youtube-dl to download the video? Of course, @remitamine is correct, and I can download the video using youtube-dl without any adobe pass options. Sigh. I have accomplished nothing. |
|
I would suggest getting HTTP Headers add-on/extension for Firefox or Chrome and see where the traffic is going. I haven't had much success getting my pull requests merged, but I'm willing to try adding support if anyone wants to e-mail me their Cox credentials at gkoelln7 [at] yahoo [dot] com. |
|
Are there unit tests to validate changes to the adobepass.py file? I scanned the test folder and didn't see anything directly testing the AdobePassIE class. For Cox, I found two issues: the login page has multiple html form elements, so the regex in post_form(), which only matches the first form element, finds the wrong POST url; the correct form is the second or third form on the page. Second, the flow from the login page to the posting of the SAML response is slightly different. I coded a modified adobepass.py file and was able to pull from Cox, including a currently locked version of the URL in the linked issue #13929 (which, itself, is no longer locked). But the fixes require a change to the post_form() method, adding an optional form_id parameter and changing the regex to include lookahead since the order of the attributes on the form tag can be volatile. I put the second change, for the flow into the SAML response, in an "if 'Cox'" block so I'm less worried about breaking working code with that change, but since the post_form() method is shared by all extractors I don't want to submit the change without doing my best to validate that I'm not damaging anything. |
|
@WRootX can you elaborate on this part?
I've been trying to work through this myself and I've basically to the point where it is POSTing to
I think what your referring to is that there are hidden fields in the HTML Form for Cox.net (expand to see full HTML)<div id="pf-signin-panel" class="pf-overlay">
<form id="pf-signin-form" action="https://idm.east.cox.net/idm/coxnetlogin" enctype="application/x-www-form-urlencoded" method="post">
<fieldset>
<legend>Sign In</legend>
<input name="onsuccess" id="pf-onsuccess" value="https%3A%2F%2Fidm.east.cox.net%2Fcoxlogin%2Fui%2Fdisney%3FSMAUTHREASON%3D0%26SMAGENTNAME%3D-SM-JeTd0c8Ox39f8%252BpLz%252FfLWSRjTrB%252FWNHdbR3yhOmzibW%252BQxJizWocNKGSJvp5ncvs%26TARGET%3D-SM-HTTPS%253A%252F%252Fidm.east.cox.net%252Faffwebservices%252Fdisney%252Fredirect.jsp%253FSAMLRequest%253DpZNPb5tAEMXv-%252FRRo7-%252Fw1dtKVIXLtRrWUttQmPfS2wGC2gl26szj2t-%252B8CduMkqqWq19HOb96bNzu-%252FOzS1tQeFXIqI-%252BI5HLBC5LLjYReQxvbdvyV38bo6sqYOW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%252BLcbjQvlmGAo-%252BA4-%252BLVCAczh01xqToCALIzlEdi4DjAvBCBRCWBAvmAYABEDtOiiSDI4hAbCQUQ4sxBHHwbiV1hMLGAUDcx3SwBCVGp4UICimHCUbGZg2cbF8bAwmTcYAoJGuwkyDTaah0MDy-%252BOAXHNFGuUAaZAKDRASqNJhwTD0ZBACgQ4UyC4gVAUaDVOGcSjgq3C-%252BLs12YOnxYEIcAMXBqJiiFiwwA45V4SBM--gChACCQSoOFgZD4BQOBKmqvA4BAvD4gYFCEAgGCyGQSh0A4vC8FAECliwwgNOI1S2gIoiSAC1x2EwMBUKsIJ6GeODCOIP5kKIChQCCFgIDUVDhMRCD4lwaAmACDgFNc-%252BSEIQZBIL4OBsKIHACAoICyLwBjpBQwBYDoaCSOaSgAiYTCZAEVAhKICQhCCShROhswUGAUDiACub4HYISEGwbBeCEYDONcIqzMACDlPiZDlDAdDXEoBSiPgwhREwTDpIQ-%252BKDPg1gUBYmTOLISBKFgbAWAY1w6F4wDXA4UQghgASSA44gJsIariKGswQEFwi8HAFDWAUWAgkwvANDgV4srMohYg0FgmF4aCZDUAQYBYvBMGGASZhAmQFNYbjssAIJYMIehIHABR2BQJpoOU5TtiANT4jAAhcOIgxMF4GB0JkDjlAB1g4F4egNBwBiEFECxYOUaqDNY6QwDMhBUEoSC8FwJAWEoCOYWgCgOEqohKLM5Rsg4ITAA0XjAt9IRuBgLABGwRRQHYOggCY-%252BLCIQBiyOFIJKjA-%252BK-%252BIGvCzFEbhKHB-%252BBODgCgWHACgYCEgVcJI6TPs4XizJooBgCwEAQM4sxqgIXiDEqvhIHQLBHUgNSzEAA%2526SigAlg%253Dhttp-%253A-%252F-%252Fwww.w3.org-%252F2000-%252F09-%252Fxmldsig-%2523rsa--sha1%2526Signature%253DBa5WM9BttfLYA51mDZVrBaYhg8eyumelLyXqdvmTfIp9EYVCPAeG0RYP3urTpbebfXU2-%252BatY-%252BRf9oCk5wnq-%252FwlO32H1-%252Fz82tNKDwvVgeTpr798S0P6N1M4FtFL5eAoTLuDbzwcmKmhYG05uNQ12GQLyElmVndVbYuB5nrDF3Ecb-%252FfHTMf4GYhUJuW5bXWaoKXhWC6F-%252FGt9fZ-%252BpZ4ynL-%252F9E6qX1kRlf-%252B7vtCbm0zrwgyOWeFfTJRlFjREJ4sAICraIeojsqOv3h8g5n8hQ1ls-%252FOy7iJ-%252FaTeaeyRhJuKHaQ9B-%252F1ZnMwYlBHTtxGawMyHUwgdyXxkc9HqSjWNxlWKXHuw-%253D-%253D%2526SMPORTALURL%253Dhttps-%253A-%252F-%252Fidm.east.cox.net-%253A443-%252Faffwebservices-%252Fpublic-%252Fsaml2sso%2526SAMLTRANSACTIONID%253D2a287aa4--897d62f1--aba899b1--2664ba58--1549a2d6%26GUID%3D%26REALMOID%3D06-00024f7f-28cb-10be-bb80-41c4ac121016%26TYPE%3D33554432%26METHOD%3DGET" type="hidden" />
<input name="onfailure" id="pf-onfailure" value="https://www.cox.com/residential/sign-in.cox?onsuccess=https%3A%2F%2Fidm.east.cox.net%2Fcoxlogin%2Fui%2Fdisney%3FSMAUTHREASON%3D0%26SMAGENTNAME%3D-SM-JeTd0c8Ox39f8%252BpLz%252FfLWSRjTrB%252FWNHdbR3yhOmzibW%252BQxJizWocNKGSJvp5ncvs%26TARGET%3D-SM-HTTPS%253A%252F%252Fidm.east.cox.net%252Faffwebservices%252Fdisney%252Fredirect.jsp%253FSAMLRequest%253DpZNPb5tAEMXv-%252FRRo7-%252Fw1dtKVIXLtRrWUttQmPfS2wGC2gl26szj2t-%252B8CduMkqqWq19HOb96bNzu-%252FOzS1tQeFXIqI-%252BI5HLBC5LLjYReQxvbdvyV38bo6sqYOWLjpdiQ386gC1tUAEpU3fUgrsGlBbUHuew-%252BPmISKV1i1S18XWYabJYYXMwMllYypuT3O3i88PbxDEWhk0F0wPes4UXjQOMNQGcHAEaBqGE5eV5RNkOA5Ft-%252B2ymucDO0CUxLqXKodBcURKViMQa72KCAtCL-%252Fc5v53sZuHNL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AKDRASqNJhwTD0ZBACgQ4UyC4gVAUaDVOGcSjgq3C-%252BLs12YOnxYEIcAMXBqJiiFiwwA45V4SBM--gChACCQSoOFgZD4BQOBKmqvA4BAvD4gYFCEAgGCyGQSh0A4vC8FAECliwwgNOI1S2gIoiSAC1x2EwMBUKsIJ6GeODCOIP5kKIChQCCFgIDUVDhMRCD4lwaAmACDgFNc-%252BSEIQZBIL4OBsKIHACAoICyLwBjpBQwBYDoaCSOaSgAiYTCZAEVAhKICQhCCShROhswUGAUDiACub4HYISEGwbBeCEYDONcIqzMACDlPiZDlDAdDXEoBSiPgwhREwTDpIQ-%252BKDPg1gUBYmTOLISBKFgbAWAY1w6F4wDXA4UQghgASSA44gJsIariKGswQEFwi8HAFDWAUWAgkwvANDgV4srMohYg0FgmF4aCZDUAQYBYvBMGGASZhAmQFNYbjssAIJYMIehIHABR2BQJpoOU5TtiANT4jAAhcOIgxMF4GB0JkDjlAB1g4F4egNBwBiEFECxYOUaqDNY6QwDMhBUEoSC8FwJAWEoCOYWgCgOEqohKLM5Rsg4ITAA0XjAt9IRuBgLABGwRRQHYOggCY-%252BLCIQBiyOFIJKjA-%252BK-%252BIGvCzFEbhKHB-%252BBODgCgWHACgYCEgVcJI6TPs4XizJooBgCwEAQM4sxqgIXiDEqvhIHQLBHUgNSzEAA%2526SigAlg%253Dhttp-%253A-%252F-%252Fwww.w3.org-%252F2000-%252F09-%252Fxmldsig-%2523rsa--sha1%2526Signature%253DBa5WM9BttfLYA51mDZVrBaYhg8eyumelLyXqdvmTfIp9EYVCPAeG0RYP3urTpbebfXU2-%252BatY-%252BRf9oCk5wnq-%252FwlO32H1-%252Fz82tNKDwvVgeTpr798S0P6N1M4FtFL5eAoTLuDbzwcmKmhYG05uNQ12GQLyElmVndVbYuB5nrDF3Ecb-%252FfHTMf4GYhUJuW5bXWaoKXhWC6F-%252FGt9fZ-%252BpZ4ynL-%252F9E6qX1kRlf-%252B7vtCbm0zrwgyOWeFfTJRlFjREJ4sAICraIeojsqOv3h8g5n8hQ1ls-%252FOy7iJ-%252FaTeaeyRhJuKHaQ9B-%252F1ZnMwYlBHTtxGawMyHUwgdyXxkc9HqSjWNxlWKXHuw-%253D-%253D%2526SMPORTALURL%253Dhttps-%253A-%252F-%252Fidm.east.cox.net-%253A443-%252Faffwebservices-%252Fpublic-%252Fsaml2sso%2526SAMLTRANSACTIONID%253D2a287aa4--897d62f1--aba899b1--2664ba58--1549a2d6%26GUID%3D%26REALMOID%3D06-00024f7f-28cb-10be-bb80-41c4ac121016%26TYPE%3D33554432%26METHOD%3DGET" type="hidden" />
<input name="targetFN" value="COX.net" type="hidden" />
<input name="emaildomain" value="@cox.net" type="hidden" />
<div id="pf-signin-form-status" class="pf-form-error"></div>
<label for="username" class="pf-hidden">User ID</label>
<input type="text" id="username" name="username" title="User ID" placeholder="User ID" value="" />
<div class="password-wrapper">
<label for="password" class="display-placeholder">Password</label>
<input type="password" class="create-placeholder" id="password" name="password" title="Password" placeholder="Password" />
</div>
<input type="submit" id="pf-signin-submit" name="pf-signin-submit" value="Sign In" />
<span id="pf-signin-lock"></span>
<input type="checkbox" id="rememberme" name="rememberme" checked="checked" />
<label for="rememberme" id="rememberme-label">Remember User ID</label>
<hr />
<a href="https://idm.east.cox.net/selfservice2/registerresidentialaccountholder.action">No Account? Register Now!</a>
<a href="https://idm.east.cox.net/selfservice2/lookupuserid.action">Forgot User ID</a> /
<a href="https://idm.east.cox.net/selfservice2/resetpassword.action?finalview=">Password?</a>
</fieldset>
</form>
</div> |
|
This issue is over 2 years old and still unresolved. I to have Cox cable credentials and hope to leverage this utility. Is anyone currently looking into this still? If not, I may try to take a crack at it. |
|
@jmb12686 I continued to look into it. I made a little bit of progress. I got it to where it was properly authenticating (or at least I think it was properly authenticating) but I could never get the session information to be stored/handed off such that the rest of the code worked. I think the challenge I was/am facing is that I just don't know Python (I happen to dislike it) and so I'm fighting the language and it's idioms as well as trying to reverse engineer the login mechanisms. |
|
@RLovelett I appreciate what you are doing. Python can get a little weird sometimes. Anything I can help you with, let me know. I would love for this to work. |
What is the purpose of your issue?
Description of your issue, suggested solution and other information
Would like to request support for Cox Communications as an Adobe Pass MSO option. I can provide a Cox login as needed.