-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Philo MSO #17821
Philo MSO #17821
Conversation
I'd love to share my account but that won't help because Philo sends OTP. Is there any other way you can suggest? |
Philo has a free trial that the maintainers could probably use for testing. The site says "Start your free trial with just your mobile number." |
What exactly should we put as our username? I have tried my email and my phone number but i never get a code also i can't input anything when i get to the point it ask for the account password even if i had received the code. |
Use 'None' as account password. |
I tried that but when i put the account password in the command i just get ERROR: This video is only available via cable service provider subscription that is not currently supported. You may want to use --cookies. Here is one I'm trying for example.
|
1 similar comment
I tried that but when i put the account password in the command i just get ERROR: This video is only available via cable service provider subscription that is not currently supported. You may want to use --cookies. Here is one I'm trying for example.
|
I tried that but when i put the account password in the command i just get ERROR: This video is only available via cable service provider subscription that is not currently supported. You may want to use --cookies. Here is one I'm trying for example.
|
1 similar comment
I tried that but when i put the account password in the command i just get ERROR: This video is only available via cable service provider subscription that is not currently supported. You may want to use --cookies. Here is one I'm trying for example.
|
Can you add verbose mode by using |
`youtube-dl-philo>python -m youtube_dl https://www.sciencechannel.com/tv-shows/spaces-deepest-secrets/full-episodes/mystery-of-the-northern-lights -v --ap-mso=Philo --ap-username=fake@gmail.com --ap-password=None During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): Here ya go sorry for the multiple comments last time not sure how that happened. |
Do you see Philo when you use |
Yes i see it. |
If i leave out --ap-password=None it seems to go farther but i get to a point i assume it wants the code they send and it wont let me enter anything i also never get a code. `python -m youtube_dl https://www.sciencechannel.com/tv-shows/spaces-deepest-secrets/full-episodes/mystery-of-the-northern-lights -v --ap-mso=Philo --ap-username=fake@gmail.com During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Okay can you try running directly from source this way:
Or can you also try using some other website that uses Adobe Pass authentication? For example, Lifetime Network website requires TV provider authentication. Try running this URL just for test: https://www.mylifetime.com/shows/you/season-1/episode-7 |
Looks like the same problem that way. `[debug] System config: [] During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Did you try it with the lifetime link I posted earlier? |
Odd that lifetime link does indeed work the couple i tried on science channel and investigation discovery do not. Tho it does not let me enter the code i was sent to my email.
|
Ok so it does actually accept what i input just doesn't show it to me as i am typing sorry about that. It seems to work ok on lifetime and aetv but not on the channels that seem to all use the discovery setup science channel/investigation discovery etc. |
Discovery sites already worked through cookies.txt. Don't need MSO for them. |
Yep thanks i just found that out doing some searching around. |
So that means DiscoveryIE needs to be modified. I'll see if I can submit a pull request for that, as well. |
@dstftw Do you need anything from me for this pull request? |
Complete reproducible environment for testing these changes. |
ok, been trying to get this working with Philo and MSO - and even with just cookies, and so far can't get anything to let me grab https://www.discovery.com/tv-shows/gold-rush/full-episodes/broken-bones? I have gotten cookies working for other sites, but somehow even though I output the cookies from a browser that was viewing fine - they don't seem to work in youtube_dl at all. |
There's some other issue with Discovery sites that prevents Philo MSO (maybe MSO in general?) from working. I've used the Philo MSO patch with aetv just fine, but Discovery sites don't work with it. This is the method that works for Discovery sites with Philo:
Probably 2 or 3 is tripping you up. The Discovery code doesn't renew the temporary token automatically like your web browser does (another bug?) so you have about 15 minutes between saving cookies and running youtube-dl. It probably needs all cookies because there's some other site besides the one you are downloading from involved in authentication. Using the above method works with the URL you provided. |
thanks the timeout was surprising, kinda hard to automate long term with that kinda limit. I'll see if I can figure out how to auto renew possibly. I have done some login code for cbc I think it was, not checked in yet, since I don't have time to do all the proofing needing, but it works for me. |
That'd be great if you can figure it out. Last time I looked I figured out it was based on the eosAd and eosAf cookies but hadn't figured out how they get set/renewed. |
When i am trying to run i get the below error
|
@varunsridharan This is not for authenticating or capturing streams from Philo itself. Instead, it is a method to authenticate on third-party sites that allow accessing their content with your Philo credentials. For example, aetv.com allows you to login to their site using you Philo credentials and play videos on aetv.com. With this patch you could also use youtibe-dl to download aetv.com videos using your Philo account to authenticate. |
Wow great I just want to download from aetv isnit possible to download live
PD ?
Varun
+91 9042248903
…On Sun, Nov 24, 2019, 12:53 PM James Lick ***@***.***> wrote:
@varunsridharan <https://github.com/varunsridharan> This is not for
authenticating or capturing streams from Philo itself. Instead, it is a
method to authenticate on third-party sites that allow accessing their
content with your Philo credentials. For example, aetv.com allows you to
login to their site using you Philo credentials and play videos on
aetv.com. With this patch you could also use youtibe-dl to download
aetv.com videos using your Philo account to authenticate.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17821?email_source=notifications&email_token=AAOMA76T3ZMONRAWHAJK3S3QVITXVA5CNFSM4FZOPX2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFAFL6A#issuecomment-557864440>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOMA7YAF6M3WS4FQZAWG4TQVITXVANCNFSM4FZOPX2A>
.
|
@jlick i am still getting the same error with the AETV link
|
Try to remove |
A&E seems to have just moved to a new video streaming system. You used to be able to remove "play." from the URL to get the old player but that no longer works. See #23363 to follow this issue. |
@jlick @Aniruddh-J did you have any luck with the renew of the cookies? I am trying to download food network and cooking channel. |
@raface Sorry for the late response. Unfortunately, can't handle cookie renewal. This has to be done manually, you can probably use PhantomJS to automate this. @dstftw It is not possible for me to provide a complete reproducible environment for this because even if I provide you with my account you will not be able to test it. One of the collaborators will need to register a trial account and test it as this MSO sends an OTP to your email/phone. |
7b956a1
to
5e26784
Compare
Does this patch still work? |
It should. Let me know if it doesn't. |
The patch for Philo still works great. The fork is very old and doesn't work for many sites due to outdated extractors that have been separately fixed, though, so you have to clone a current release and then manually pull in or apply the patch. If you do that it works fine. This is what I do on Linux to make a custom build with the current release with this patch added:
Hopefully this makes it in to a release someday as it is very useful. |
Authored-by: Aniruddh Joshi <aniruddh@ebincoweb.com>
I can't get philo to send me the auth code to use this. Bummer, I was really hopeful. :( |
If it was working before AND you use cookies, sometimes it will request a new token but Philo doesn't send you any text message. If you've waited a while and still no text, just press enter and usually it'll work just fine. If it is your first time, make sure you are using the correct arguments, e.g.: --cookies cookies.txt --ap-mso=Philo --ap-username=AAAPPPNNNN --ap-password=None Specific tips: |
Nice, did as suggested and used cookies and although it still didn't send an auth code, hitting enter did allow it to start downloading. Thank you so much. :-) |
For some reason for A&E, nothing would work at all at first even A&E cookies. The only thing that ended up working as to use the -ap-mso, ap-username, ap-password=None all together with the cookies.txt that I grabbed from Philo's website with the Chrome "Get Cookies.txt" addon. I just hit enter on put in token as nothing could get Philo to email me a token. |
Philio must have changed the way they authenticate users. I developed this MSO 3 years ago, there is a high chance that it will break now. Since the developers of youtube-dl are refusing to add this to the repo, it will be a total waste to work on this any further, unfortunately. |
It is in integrated in some of the popular youtube-dl forks and still working great for me, so definitely not a waste in my opinion! |
Oh, Okay, I was unaware of this. You mentioned that it is still working, so no work is required at the moment, right? |
Added new Philo MSO.
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
Explanation of your pull request in arbitrary form goes here. Please make sure the description explains the purpose and effect of your pull request and is worded well enough to be understood. Provide as much context and examples as possible.
Added new MSO, Philo.
youtube-dl <url> --ap-mso=Philo --ap-username=<username> --ap-password=None
Philo has unique authentication method. Instead of regular username and password. Philo sends an OTP to your email/phone. You use that as the password.
Addresses #17395