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.
Help adding DISH adobe support #11886
Comments
|
I've been trying to add Dish MSO as well. However, the error I'm getting is "ERROR: Unable to extract post url;" and I'm getting it on this page too. I have a Dish login and when I try to view this video in my browser, it tries to load for a few seconds, then stops as if the video has finished playing. |
|
if your using firefox that happened to me today also. Tried it in chrome and worked perfectly though. Edit. tried it just now and working fine in firefox I have crappy Satelite internet.......that why I bought vps........I download stuff there without dropping packets and then ftp home during my freezone 12am-5am |
|
Can you try your command with the --dump-pages option? I want to see what you're getting vs. what I'm getting. |
|
as of right now it hanging at [Syfy] 2877726: Downloading Provider Login Page and I dont see any additional info......is there a syntax I should be using? ill update this when it times out. my bad........forgot to put command in but it looks like page is ncoded or something.........ill toss it in pastebin cause its huge. |
|
I'm getting further, but when I get to the login confirmation, and I submit the form, I think it presses the Cancel button.
Anyone have any ideas how to submit the form by pressing the Sign In button instead of the Cancel button? |
|
Here's what I have so far:
...
|
|
...or maybe it's during the login process that it's choosing the wrong form?
|
|
So many hoops to jump through! I've made it this far:
But this last page is just this:
Now where do we go from here? I'm still getting ERROR: Unable to download webpage: HTTP Error 401: Unauthorized (caused by <HTTPError 401: 'Unauthorized'>); after it starts to retrieve session. |
|
|
FYI: In many cases 401 is caused by insufficient information. --print-traffic and --write-pages can help for debugging login problems. Note that --print-traffic works better with Python 2 than Python 3. |
|
So here's the route it takes: https://sp.auth.adobe.com/adobe-services/authenticate/saml https://identity1.dishnetwork.com/saml/saml2/idp/SSOService.php And finally, So, looking at the traffic, I don't see any insufficient information, but is it because it's not redirecting to the original page? |
|
Dunno. Maybe Cookies or User-Agent that's causing the failure. First, could your reproduce all requests necessary for logging in? |
|
I think I'm there, though I'm not entirely sure it's the cleanest method. I got it work, anyway.
...
|
|
just tried it out......assuming your putting conditions code after comcost code but before non comcast code........and its hanging at [Syfy] 2877726: Downloading AuthState Page |
|
I wish I could tell you why yours is hanging. Have you tried using the --print-traffic option? |
|
yup.......I think problem is that is causing you to see something usefull and all I see is the encoded crap after the url like I posted in pastebin above...........your welcome to an account on my vps and see if you can get it working lol |
|
@gkoelln Basically that's the correct workflow. If you have made it working, it's ready for a pull request. |
|
would love for this to get merged but unfortunately I cant give out my sisters login :( |
|
So is this working? How do I get it to work on my end ('Dish' is not on the list of MSO's right now) |
|
There is a commit listed but flag tv provider login needed. So its stalled till they can verify it works. As i said before i cant provide my sisters login credentials........hell i even asked her if i could and she said no. If you can so they can verify its working it would help me and others be able to use dish. |
|
So all you need is a login credential? sigh. I've had a few site support requests get tagged with account needed. When I've asked about supplying one, I've been told that if someone gets to the point of writing code and needing it, I'd be contacted. For some reason, I'm not even seeing email when a reply comes here -- that one from 9 days ago, I just saw now. I'd have no problem giving you access. Just let me know when, I'll set up a dummy password for you, and when you've had a chance to test and verify, I'll reset my password back. |
|
My pull request works as far as I can tell. Feel free to test it and let me know if there's a site on which it doesn't work. #12000 |
|
Ok, can you tell me how to test it? Step 1: Clone youtube-dl: keybounceMBP:youtube-dl michael$ git remote -v Step 2: ??? I have no idea how to bring your pull request in for testing. |
|
Ahh... {{{ Now, I have a new repository, with your code merged; how do I run it? EDIT: Silly me, there's a Makefile. |
|
Run it like you would run the youtube-dl command line, but using "python main.py" instead of "youtube-dl." |
|
Merged the code indicated by the comment "gkoelln commented on Feb 3" into a git clone pulled 2017-07-11 on the master branch. Compiled and executed successfully. |
|
Yep. I've been commenting directly on the pull request #12000 It's been working fine for me for a while. I had a little problem with one site, briefly, but those went away. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.01.29. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
Description of your issue, suggested solution and other information
Ive been trying to add dish support for past few days on and off. I cant give login creditials out as
there my sisters. So im forced to try to get it working on my own :(
Anyway here is as much info as I have.
ive added to adobepadd.py
url of redirect is similar to xfinity as its a redirect not a popup like most of rest
https://sp.auth.adobe.com/adobe-services/authenticate?requestor_id=syfy&no_iframe=false&mso_id=Dish&domain_name=syfy%2Ecom&redirect_url=http%3A%2F%2Fwww%2Esyfy%2Ecom%2Fkilljoys%2Fvideos%2F1%2F2616
which redirect too:
https://identity1.dishnetwork.com/saml/module.php/sociallogin/login.php?AuthState=_e1a33b890e60fbe4ae431ca47b642708b1f18a02c7%3Ahttps%3A%2F%2Fidentity1.dishnetwork.com%2Fsaml%2Fsaml2%2Fidp%2FSSOService.php%3Fspentityid%3Dhttps%253A%252F%252Fsaml.sp.auth.adobe.com%26cookieTime%3D1485809534%26RequesterID%3D%255B%2522syfy%2522%255D%26NameIDFormat%3Durn%253Aoasis%253Anames%253Atc%253ASAML%253A2.0%253Anameid-format%253Atransient
on this page there are 3 form elements.....1 of which is remember me button.
Online ID:
<input placeholder="Online ID" class="input" id="username" type="text" name="username" value="" tabindex="1" autocapitalize="off" autocorrect="off"required="">`Password:
<inputplaceholder="Password" class="input" id="password" type="password" name="password" value="" tabindex="2" autocapitalize="off" autocorrect="off"required="">Remember me check box:
<inputtype="checkbox" name="remember_me" value="yes" tabindex="4"checked="checked">and login button:
<buttonid="login" type="submit" name="source_button" value="authsynacor_identity1.dishnetwork.com" class="login" tabindex="3">Log In
</button>after that I ran make......
issued command
./youtube-dl -v --ap-mso Dish --ap-username PRIVATE --ap-password PRIVATE --list-formats http://www.syfy.com/killjoys/videos/110-escape-velocity
and it hangs at:
[Syfy] 2877726: Downloading Provider Login Page
If I let it sit for like 5 minutes......it eventually gives ssl error time......
Now im running this on a remote vps so dont think its an internet issue but just to be sure.....I tried my login credentials on Direct tv and it errors out invalid credentials.
So Im thinking it just geting to page and timing out......but I cant figure out why.
Any help or steps I can do to resolve this would be greatly appreciated.
here is output up till hang:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--ap-mso', u'Dish', u'--ap-username', u'PRIVATE', u'--ap-password', u'PRIVATE', u'--list-formats', u'http://www.syfy.com/killjoys/videos/110-escape-velocity']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.01.28
[debug] Python version 2.7.12 - Linux-4.4.0-59-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 2.8.10-0ubuntu0.16.04.1, avprobe 2.8.10-0ubuntu0.16.04.1, ffmpeg 2.8.10-0ubuntu0.16.04.1, ffprobe 2.8.10-0ubuntu0.16.04.1, rtmpdump 2.4
[debug] Proxy map: {}
[Syfy] 110-escape-velocity: Downloading webpage
[Syfy] 2877726: Downloading Provider Redirect Page
[Syfy] 2877726: Downloading Provider Login Page
^C
ERROR: Interrupted by user
Thanks for your time