Replies: 1 comment
-
For FX, but not other channels in go.py, there are some extra token parameters that are calculated in JavaScript and passed along during the login. I haven't been able to figure out how to create them. But I did find that I could login with a browser and save a cookie file for FX that will work without going through the adobepass logic. Unfortunately, go.py always tries to call adobepass and fails with the 401 error. You can fix that by changing
to
in go.py. With that change adobepass login is skipped when a cookie file is provided. |
Beta Was this translation helpful? Give feedback.
-
I am waiting for #124 to be resolved before I install youtube-dlc but in the meantime I wanted to refer you to the patches in https://github.com/ytdl-org/youtube-dl/pull/26826/files although they do not fully fix the issue. The patches are as follows (these are to the original, not necessarily your fork, and they are not mine, I am just referencing them):
In youtube_dl/extractor/extractors.py:
Remove the line
from .fxnetworks import FXNetworksIE
at or near line 397.Remove the file youtube_dl/extractor/fxnetworks.py completely.
And in the file youtube_dl/extractor/go.py:
I apologize that this is not proper patch file format, I don't know how you get one from github so I had to manually type the + and - symbols at the start of the lines. Anyway this all came from ytdl-org#26826 but the problem is that it doesn't work on things that require a login. As I said there,
The guy that wrote the patch said the issue was that I was not supplying credentials, but in fact I was, and other Go services that require credentials work fine. My guess is it just isn't parsing the second form of the URL correctly but I don't know for sure. If there is some way you can figure out why his patch only works for videos that don't require a provider login it would be much appreciated, but also I have a feeling that even his original patches will not make it into the main distribution any time soon, so it would be helpful if you could get them into yours if there's not some reason not to.
Beta Was this translation helpful? Give feedback.
All reactions