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.
Unable to login to 1und1.tv (Zattoo partner site) #18035
Comments
|
Of course you are not allowed to make any changes that will alter the behavior of existing code. What you must do is to implement some basic polymorphism for session part of URL. |
|
Hi @dstftw, thanks for the quick reply. It's perfectly clear to me that it's not an option for the general code. I just wondered if I could do it only for myself and build youtube-dl with that change just for myself, as I only use EinsUndEinsTV from the Zattoo extractor. In the meantime I fiddled around a bit with Fiddler (what a pun :-D ) and found out that changing the hostname from This would be the minimal possible change in the code to fix the problem. Could someone do that please? In the current state, the EinsUndEinsTV part isn't functional anyway. Besides, great work!!! |
|
Wow! That was fast! |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.10.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
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
Description of your issue, suggested solution and other information
I cannot download from 1und1.tv (a Zattoo partner site) because the session cannot be opened. The output says "Unable to download webpage: HTTP Error 404", see log file. I investigated a bit. youtube-dl uses the Zattoo extractor for this site: class EinsUndEinsTVIE. At line 65 a request to
[HOST]/zapi/v2/session/hellois made to initiate a session:This URL path is not correct for 1und1.tv - the
/hellopart is not needed, see attached screenshot from Chrome dev tools:In my opinion, this could be fixed by removing the
/hellopart from line 65 of the zattoo extractor like this:The question is, how would other partner sites supported by the Zattoo extractor be affected by this change, if at all. Or can this be done only for EinsUndEinsTV in any way?