New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Dish MSO #12000
Adding Dish MSO #12000
Conversation
d738ea7
to
8a0d6d2
Compare
In conjunctions with PR #12000, this fixes Issue #11468
If no one is willing to share Dish login info (including myself), is posting traffic for different tests sufficient? |
Works for me on BBCA. Silly BBCA dispenses TT subtitles ("SMPTE-TT Captioning Default") when downloading latest Planet Earth 2 that neither vlc nor mplayer understand. No help for Science Channel GO (uses a different scheme, based on cookies, and doesn't support Dish for some reason...) Still fails on Adult Swim (already reported: Bootstraped data issue) But that's 2 out of 2 where the issue is supporting Dish over adobe's signin system. EDIT: Clarify: worked for me with no problems. |
I've tested it successfully on NBC and FOX as well as Disney/Go and BBCA. I'm relying on you (and anyone else who's willing and able) to test, since I recently cancelled Dish in favor of Playstation Vue. (Now if I can just figure out how to set up that MSO...) |
And it works on ABC/Go (had to update youtube-dl from the 20th to the 24th.) Now installing it on my system as "tested and better than the default". |
If someone can try https://github.com/gkoelln/youtube-dl/raw/adobepass/youtube_dl/extractor/adobepass.py with a Dish login, I'm curious if it will work as well as it did for my PSVue login. EDIT: Edited link. |
Can you clarify what you want tested there? |
I haven't done a PR for it yet, but I'm hoping that this extractor works for all MSOs listed in the dictionary. Unfortunately, I don't have a way of testing it with a Dish login. There's one line in particular that may cause problems. |
You might try:
|
Changes have been made to this PR. Dish users, please test this, as I cannot. |
More testing needed, please. I can't use the Dish MSO anymore, but I'd love to make this available for anyone who can. |
I've been using it. Working fine.
…On 2017-04-03, at 1:44 PM, gkoelln ***@***.***> wrote:
More testing needed, please. I can't use the Dish MSO anymore, but I'd love to make this available for anyone who can.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
---
Entertaining minecraft videos
http://YouTube.com/keybounce
|
Made some changes, if you can please try the latest.
|
I'm brand new at this and would love to test the Dish MSO. I'm having some issues, though. Here are the commands I'm executing and their results: git clone https://github.com/rg3/youtube-dl.git (result: successful) I know I'm doing something wrong here, but just don't know what. |
Try this:
|
Thanks, @brbsix It looks like the MSO parts worked, but the actual download did not. Here's the output: [debug] System config: [] |
On 2017-04-05, at 2:38 PM, casual-programmer ***@***.***> wrote:
I'm brand new at this and would love to test the Dish MSO. I'm having some issues, though. Here are the commands I'm executing and their results:
git clone https://github.com/rg3/youtube-dl.git (result: successful)
cd youtube-dl
git fetch https://github.com/gkoelln/youtube-dl.git adobepass (result: * branch adobepass -> FETCH_HEAD)
git checkout FETCH_HEAD (result: "You are in 'detached HEAD' state...HEAD is now at deb24bc... [adobepass] Add function process_redirects")
git tag -a adobepass (result: Opens nano, haven't the slightest idea what to do here, so I simply exit)
This was your error. The tag did not actually happen -- you have to leave a commit message with tag -a.
git checkout master (result: "Warning: you are leaving 5 commits behind...Switched to branch 'master'")
git checkout -b merged-adobepass (result: "Switched to a new branch 'merged-adobepass'")
git merge adobepass (result: "merge: adobepass - not something we can merge")
make (result: successful)
./youtube-dl -v --ap-mso Dish --ap-username SECRET --ap-password SECRET --list-formats http://channel.nationalgeographic.com/water-and-power-a-california-heist/videos/water-power-a-california-heist/ (result: "youtube-dl: error: Unsupported TV Provider")
I know I'm doing something wrong here, but just don't know what.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
Interestingly, I asked on the git users list about how to deal with this.
Best advice I got:
https://groups.google.com/forum/#!topic/git-users/3NGYZq01lF8
So, to wrap this all up, here`s the flow you may follow to keep "Dish" on top of "master" in case where you don`t own any of them, and using `git rebase` (for the sake of completeness, I`ve started from scratch, initializing a new repository):
(1) $ git init
(2) $ git remote add -f -t master rg3 https://github.com/rg3/youtube-dl.git
(3) $ git remote add -f -t Dish gkoelln https://github.com/gkoelln/youtube-dl.git
(4) $ git checkout master
(5) $ git checkout Dish
(6) $ git rebase master
After steps (5) and (6), the graphs should look something like this:
(5) ---A---B---C---D---E---F (master, rg3/master)
\
Z (Dish, gkoelln/Dish)
(6) ---A---B---C---D---E---F (master, rg3/master)
\ \
Z (gkoelln/Dish) Z' (Dish)
Now your local "Dish" is based on top of latest "master", and all is good.
In the future, each time "rg3/master" gets updated, you can do:
(7) $ git checkout master
(8) $ git pull
(9) $ git rebase master Dish
After steps (8) and (9), the graphs should look something like this:
(8) ---A---B---C---D---E---F---G---H---I (master, rg3/master)
\ \
Z (gkoelln/Dish) Z' (Dish)
(9) ---A---B---C---D---E---F---G---H---I (master, rg3/master)
\ \
Z (gkoelln/Dish) Z'' (Dish)
Once again, your local "Dish" branch is based on top of latest "master" and ready to use.
Regards,
Buga
|
I just reverted to the previous working version. |
That merge conflict: it's two different segments being added to the same place. They are just elseif / then / elseif things, and go in together. I'm using the 4-17 youtube-dl with the dish MSO with that -- both pieces of code in there. |
OK, so some more info. I had been using ce75bd2e2a3e9e6a09e82f07e1533313fc9bb47b, which is the Jan 13th version of Dish MSO. I did not install 01727b79adea089c56b3c938aa94f398c93a2bd1 (dated april 3rd), because on April 5th there was a "revert to last working version" bed2e998a17b8353be35b056bb67596df4e3b108 I assumed "revert to last working version" would be the same as what I had. Git diff shows significant changes, it was not just a revert commit. Now updating to the april 5th version for another week's TV downloads. |
@keybounce Please keep me updated. It wasn't an actual revert, but me trying to undo some changes, but I couldn't find my history, so I tried to recreate it. |
Seems to be working. I did not get any errors getting another week's worth of downloads. (Not all of the sites I fetch from want a sub.) |
Just switched over from Comcast_SSO and everything seems to be working great. I was able to pull some Viceland episodes I was missing with no problems. Anything specific you would like me to test? |
Resolved merge conflict. I'm ready to squash this for merge, if there are no further changes needed. |
Looks like they changed it again. I’m getting an error “unable to extract post url” |
On 2019-10-03, at 2:42 PM, dellis87 ***@***.***> wrote:
Looks like they changed it again. I’m getting an error “unable to extract post url”
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Lovely. Not to mention that their "stream your DVR recordings over the internet" stopped working this week.
…---
Entertaining minecraft videos
http://YouTube.com/keybounce
|
I tried added the MSO stuff to the code like others have and I too am getting a post error. Anyone have a fix for this? I don't know enough about how the logins work to try and fix it myself it seems. I can test though. |
I just tried that version. It seems to login just fine but says my subscription package doesn't include it, yet I am able to watch it in the browser using the same credentials. I tried a video on Cartoon Network. |
Mine says it can’t find the post_url. Trying on Disney, fx, free form, etc. |
Has anyone gotten this working recently? |
Unfortunately not. :( |
I was able to get it to work just now using the txt file supplied by @JayBird15. Not all urls are working however. When I run it on the following url, it sucessfully downloads. I'm not seeing a media key in the _download_json tuple but I am seeing a 'MediaID' key. Error
|
Hmmm. I wasn't able to get it to work when I last tried it but maybe I'll try again since I know more about the source code now. The adult swim issue should be an easy fix. |
I actually got it working today as well. Enjoy while we can! :-)
…Sent from my iPhone
On Jul 9, 2020, at 7:57 PM, bobbintb ***@***.***> wrote:
Hmmm. I wasn't able to get it to work when I last tried it but maybe I'll try again since I know more about the source code now. The adult swim issue should be an easy fix.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
On 2020-07-09, at 8:03 PM, dellis87 ***@***.***> wrote:
I actually got it working today as well. Enjoy while we can! :-)
GREAT! Which git repository has the winning branch?
…
Sent from my iPhone
> On Jul 9, 2020, at 7:57 PM, bobbintb ***@***.***> wrote:
>
>
> Hmmm. I wasn't able to get it to work when I last tried it but maybe I'll try again since I know more about the source code now. The adult swim issue should be an easy fix.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
---
Entertaining minecraft videos
http://YouTube.com/keybounce
|
Does this patch still work? |
I have a dish login. How can I test the code or contribute? I would really like this to be finished and merged with the main code. Thanks. |
This is a "me-too" moment. I don't know how to get started on this. I have coding experience and a dish login. But no knowledge of what I'm doing here. |
You can install |
Are there step by step instructions somewhere on how to do this? I'm not experienced with using the pip and git commands. |
On 2021-06-28, at 7:31 PM, hansgerig ***@***.***> wrote:
You can install https://github.com/gkoelln/youtube-dl/tree/Dish with pip to test. Note that this will be based on an older upstream version. To get the best of both, you'll need to use git to rebase/merge this on top of the current master/release
Are there step by step instructions somewhere on how to do this? I'm not experienced with using the pip and git commands.
So a working Dish setup from an older version? Great, I'll test that ... gaah, tomorrow, not tonight.
|
Here we go with this nonsense again: |
That's because the repository predates the last takedown. They restored the
main repository (this one) but not the forks as they didn't have the same
change. I messaged GitHub and opted to remove the fork.
…On Tue, Jun 29, 2021, 8:41 PM hansgerig ***@***.***> wrote:
You can install https://github.com/gkoelln/youtube-dl/tree/Dish with pip
to test. Note that this will be based on an older upstream version. To get
the best of both, you'll need to use git to rebase/merge this on top of the
current master/release
Here we go with this nonsense again:
https://github.com/gkoelln/youtube-dl/tree/Dish: Repository unavailable
due to DMCA takedown.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#12000 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB7XDJNWEMYRX3QSROCP4LTVJR3DANCNFSM4C7DG2IA>
.
|
So does that mean that since the code for Dish MSO is not in the master branch or main repository or whatever it's called, the code is no longer available? If so, then does that mean someone will have to start from scratch to add support for Dish MSO? |
In theory, Gkoelln should have the good code on their computer, and could get it re-uploaded to a fresh safe fork.
... Seriously though: Since youtube-dl is supposed to be legally valid now, why aren't all these forks re-enabled?
…On 2021-06-29, at 7:33 PM, hansgerig ***@***.***> wrote:
So does that mean that since the code for Dish MSO is not in the master branch or main repository or whatever it's called, the code is no longer available? If so, then does that mean someone will have to start from scratch to add support for Dish MSO?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
---
Entertaining minecraft videos
http://YouTube.com/keybounce
|
Clone the main repo and make the changes yourself, then test... ? |
I've addressed the question already. The code is available from the pull request still and you can try to merge it into the current base code if you wish. |
Additions were borrowed from the following comment. ytdl-org/youtube-dl#12000 (comment)
Please follow the guide below
x
into all the boxes [ ] relevant to your pull request (like that [x])Before submitting a pull request make sure you have:
In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:
What is the purpose of your pull request?
Description of your pull request and other information
Adding Dish MSO to adobepass.py
Issue #10111
Issue #11886