bvanheu / pytoutv

TOU.TV client library and user interfaces written in Python 3
96 stars 23 forks source link

Bad HTTP status code (404) for "https://ici.tou.tv/presentation/search" #134

Open doharvey opened 5 years ago

doharvey commented 5 years ago

Hi Every command throw the same error message

$ toutv list Bad HTTP status code (404) for "https://ici.tou.tv/presentation/search"

$ toutv -v fetch -q MAX "District 31" S03E100 DEBUG:ShelveCache:Trying to open shelve at /home/htpc/.cache/toutv/.toutv_cache _parse_show_episode_from_args returns: emission District 31 and episode S03E100 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): ici.tou.tv:443 DEBUG:urllib3.connectionpool:https://ici.tou.tv:443 "GET /presentation/search?v=2&d=android HTTP/1.1" 404 8308 Bad HTTP status code (404) for "https://ici.tou.tv/presentation/search"

c3rv3au commented 5 years ago

Yes same thing for me.

gboudreau commented 5 years ago

I think that tou.tv deprecated their old API that we're still using... Might be time to try to switch to the v2 API now. I think there was some effort on that, a while ago... I think the v3-dev branch is using that API version.

airbete commented 5 years ago

Quelqu'un a-t-il trouvé une solution? Même un téléchargement avec l'URL ne fonctionne pas:

toutv fetch -q MAX https://ici.tou.tv/l-epicerie/S17E42 Bad HTTP status code (404) for "https://ici.tou.tv/presentation/search"

sirber commented 5 years ago

le APIv1 est mort. Ca prend un nouveau projet qui utilise APIv2.

danyboy666 commented 5 years ago

nouveau DRM du coter de tou.tv il faudrait investiguer mais meme la version de l'API v2 n'est plus compatible

bpruneau commented 4 years ago

Je pense qu'il faudrait mettre à jour ce projet pour qu'il puisse fonctionner à nouveau avec le nouvel API, ou bien supprimer ce projet de github pour éviter à quelqu'un de perdre 20 minutes à essayer de le faire fonctionner sans succès.

simark commented 4 years ago

Je pense qu'il faudrait mettre à jour ce projet pour qu'il puisse fonctionner à nouveau avec le nouvel API, ou bien supprimer ce projet de github pour éviter à quelqu'un de perdre 20 minutes à essayer de le faire fonctionner sans succès.

Bon point. Perso, je n'ai pas le temps (ni probablement les connaissances) pour aller au fond de ce problème. J'ai ajouté une note au haut du README comme quoi le projet n'est pas utilisable dans son état actuel.

Extarys commented 4 years ago

La dernière fois que j'avais joué avec la librairie, j'ai remarqué que le video était dans un iframe mais que le code essayait de télécharger la page.