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.
Can't download from a tou.tv account. Site redesigned! #16398
Comments
|
It's geo-restricted to Canada. |
|
I do have the same problem with this site https://ici.tou.tv. The problem is not geo-restricted because I live in the region. Must be an issue with the script that needs an update. Anyone can help ? |
|
@Altruo The geo-restriction just mean to developers outside of the Canada that want to help us need a Canadian IP thru a proxy or VPN to be able to work on the problem. |
|
Also some of its content can be downloaded without an account (only Tou.TV Extra content needs a valid account). Example: https://ici.tou.tv/infoman/S18E31 |
|
Sorry to say that, I doesn't have account anymore. Generally I subscribe a month to download premium content that's interesting and after I unsubscribe to save money. |
|
I can provide an account if needed, let me know how to proceed. |
|
That's the problem, it doesn't works for the premium contents, but only regular contents. Youtube-dl doesn't works anymore with the credentials (user & password (-u -p)) for that specific site. But it used to... ERROR: Unable to extract toutvlogin; please report this issue on https://yt-dl.org/bug . |
|
Same problem here. Doesn't work for Extra contents even with appropriate credentials (user and password). Any help on this topic would be highly appreciated! |
|
Hi. I'm from Montreal, Canada, and I have a premium account for tou.tv. I've started looking into this - it does stem from the UI re-design; tou.tv has moved the client-code generation into obfuscated scripting, which makes the old code no longer work. There might be a way around that. But, be also aware that even if the login is fixed, more and more content of tou.tv will fail to convert for playback as it is tainted with DRM that only web-browsers can decode, so downloading/converting for offline playback will no longer be a possibility for a portion of the tou.tv content. |
|
Hi guys, i think i've found a solution. I have it working on my PC. I just need to make the code cleaner and use a better regex. I'll try to post a PR before January. |
|
Great ! Thanks man that would be fantastic. Merci |
|
I'm hit by this bug as well. If this PR fixes the problem, is it possible to merge it? Thanks! |
|
If you need this fix quickly, i think you can checkout my branch as @tabarnakos did in the PR. |
|
Hi Alex it seems that you found a way to fix the problem, but for now it still doesn't work for me, do you think that they will add your fix to the next upload ? Others seem to have find their ways with your PR, unfortunately I'm very bad with coding it's basicaly chinese to me... If you think that they won't had your fix to the next upload would you be kind enough to give an exemple of what should be written in youtube-dl in order to make it work ? al.71@live.ca Merci pour ton bon travail c'est super apprécié ! |
|
Here's an example of how I use Alex's fix. I don't live in Canada anymore so I need the geo-bypass, which you can omit: It works most of the time, for most of the content. However,l some content fails to download for unknown reason, such as the entire Season 28 of Découvertes: fails with the following error:
but Season 29 works without issues. Also, some videos fails due to DRM, such as Unité 9 : fails with the following error:
|
|
Thank you tabarnakos@ for your answer, but I don't see what's different in the code you use nor where is Alex's fix. Is it this ? :
Personally I still get a " Unable to extract toutvlogin" with the -u -p option. The video you refer to is not Extra contents, so you can acces it without credential (user/password). My main problem is with Extra contents (not DRM) where I get a " unable to extract toutvlogin" Here's an exemple of the code I use usually to get my contents (under windows) youtube-dl -u MY EMAIL ADRESSE -p PASSWORD " https://ici.tou.tv/grizzy-et-les-lemmings/S01E31?lectureauto=1" But that doesn't work anymore on tou.tv I get the same thing with : Maybe I misunderstood the code you provided, because somehow you download with your credential on the site, while I can't. Any help is welcome |
|
my best guess is that you are not using the right branch... make sure to not only clone Alex's repository, but also to checkout the toutv_account branch, where he made the changes. |
|
It's a good guess lol I don't even no how to use a branch and where to but it. That the thing, I wanted to know what I have to put within the program. If there is any good Samaritan to explain al.71@live.ca |
|
@tabarnakos I got a another PR (#18609) that fixes the DRM check. The fixe is on my master branch on my fork. I pushed a branch containing both fixes (DRM + account) call all_fixes give it a try! @Altruo I wrote you a comment on your commit on your fork. I can help you there so we don't hijack this thread. Hope it helps you both! |
|
Okay I haven't found a better place to put this. For Decouvertes Season 28 (and a couple other Decouvertes episodes), I found a fix to be able to download the m3u8 playlist, but it is pretty dirty, and as far as I can understand, it fixes a bug on radio-canada's server not giving the right URL. Here's is the git diff, the modification is in the radio-canada extractor.
It seems as if they have somehow discontinued the 256 and 400kbits streams, but failed to update something in their servers, resulting in error 404 when requesting the m3u8 information. Deleting that part of the string fixes the issue... But I have no idea if it would break other video downloads on radio-canada's website. @alexhuot1 Are you interested in looking into it? I don't have enough python of web programming experience to know what I am doing, nor what is the right way to fix it. |
|
@tabarnakos Yes i'll take a look for sure. I had a very similar problem with the latest District 31 episode. Thanks for the fix! Edit: OK, it does fix my problem for district 31 also. But i need to remove more than juste 256 and 400. So i need to find a cleaner way to identify which part should be removed. I think we should open an issue only on that. @tabarnakos If you open an issue for that, tag me in it, i'll try to solve it. Thanks |
|
@tabarnakos I send a PR for you problem (and also mine ;) ). You can checkout the master branch on my fork to get all my fixes. (account, DRM and bitrates) |
|
@tabarnakos / @alexhuot1 Did your fixes make it to the public release yet? I have 2019.01.30.1 and even on non-georestricted emissions I receive "ERROR: radiocanada said: Exception has been thrown by the target of an invocation." |
|
We are still waiting for the PR to be accepted. For now you can checkout master from my fork and test is the fix works. |
|
Hello. Do anyone have codes to access to a Tou TV Extra account ? |
|
@Meremptah unless you work on the project and it's for troubleshooting an issue, you have to pay for that. |
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.05.01. 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 doesn't have problem to download free content but it doesn't work when I want to download "extra" (premium) videos from an account, tou.tv have change their web site design recently. It worked less than a month with my account before the web site change. The tou.tv login script probably need a update for the new web site.
If you need a login to help you, I can give my account credential.
I hope that my English is not too bad!
Thanks for your help.
Erik.