-
Notifications
You must be signed in to change notification settings - Fork 23
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
Can't download single movie #118
Comments
I get the same. Here is the backtrace:
|
"Les mondes perdus" now works, but there are two episodes. Arthur l'aventurier still doesn't , as there is a single episode. Indeed, the It seems like we can still download the video if we treat the top-level object as if it was an episode. I have a potential fix in this branch, are you able to build and test it? |
Yes your fix works I was able to download the video! |
I've created a pull request (#120), I'll give people a few days to review it if they want to. |
I am still having issues downloading movies. Any clue?
|
@jfcomeau, I pushed a patch to fix that particular issue, which was caused by the "episode" of the movie not having a SeasonAndEpisode tag. It now fails later with:
There seems to be something different with this media than the usual tou.tv shows. When loading it in Firefox, I had to accept/enable some DRM thing, which I don't get usually with other shows. So one would need to investigate what's different about it, analyze the traffic, etc. We usually have good success when analyzing the Android or iPhone application. I don't plan to have time to do this in the near future, but if you manage to capture some traffic, it would be useful if you could share it. If you need help to get started (e.g. which tools to use), feel free to ask. A precision about the behavior of pytoutv: note that after failing to download the movie, it then proceeds to download the second "episode", "Entrevue avec les comédiens". This is because |
Having issue with 'Le commerce du sexe': toutv -v fetch -q MAX https://ici.tou.tv/le-commerce-du-sexe Thanks, |
It turns out that applying simark fix did the trick. I taught that this was merged in this 'mainline' :-) Note that once applied, I also needed to delete ~/.cache/toutv/.toutv_cache for this fix to work, otherwise the 'emission' data was pulled from cache instead of being re-generated. So, this is my validation that simark patch did work for me... thanks! Eric |
Thanks for testing. I created a new 3.0.2 release that includes this patch. Can you confirm that it also works with the release on PyPi? |
Thanks simark I verified with tag v3.0.2
All worked fine. There might be specific movies or episodes which give DRM errors, as you noted, but this would be due to DRM, and would not be related to this issue here (that would be issue #124). Merci! Edit: I verified with 'pip3 install pytoutv', so this is from the latest PiPI repos. |
When I try to download a movie on MAC OS X like https://ici.tou.tv/les-mondes-perdus or https://ici.tou.tv/arthur-laventurier-au-costa-rica there is always an error : "Unknown exception: <class 'TypeError'>: 'NoneType' object is not iterable".
Most probably because of the fact there is no Seasons or Episodes?
#toutv fetch 'les-mondes-perdus'
Unknown exception: <class 'TypeError'>: 'NoneType' object is not iterable
The text was updated successfully, but these errors were encountered: