Giter VIP home page Giter VIP logo

Comments (5)

ehoffman2 avatar ehoffman2 commented on August 10, 2024

Le problème est que la requête Web avec le client 'phone-android' ne fonctionne pas pour certains médias, comme les films/documentaires.

https://ici.tou.tv/presentation/alter-ego/S01E01?excludeLineups=True&smallWidth=188&mediumWidth=660&largeWidth=660&v=2&d=phone-android
retourne une erreur.

Mais avec le client 'android', ça fonctionne. Ex:

https://ici.tou.tv/presentation/alter-ego/S01E01?excludeLineups=True&smallWidth=188&mediumWidth=660&largeWidth=660&v=2&d=android

Dans le fichier resources/lib/scraper.py, j'ai remplacé , à la ligne 23:

emission = GET_HTML('http://ici.tou.tv/presentation' + PID + '?excludeLineups=True&smallWidth=188&mediumWidth=660&largeWidth=660&v=2&d=phone-android')

par

emission = GET_HTML('http://ici.tou.tv/presentation' + PID + '?excludeLineups=True&smallWidth=188&mediumWidth=660&largeWidth=660&v=2&d=android')

Le résultat JSON donne moins d'infos (le champ 'Detail2' est manquant), mais ça fonctionne pour les documentaires.

J'ai eu moins de succès pour les films, problème de décodage, mais la requête fonctionne.

from depotquebec.

anisite avatar anisite commented on August 10, 2024

En fait il devrait y avoir un message d'erreur qui dit qu'il n'y a pas de DRM supporté sur la plateforme. Certains films sont mal catégorisé par tou.tv. mais j'avais fait un changement pour les lire mais je n'aime pas ça parce que d'autres ne fonctionnent pas alors j'ai voulu revenir au message informatif en les blocant tous et j'ai oublié un morceau.

from depotquebec.

anisite avatar anisite commented on August 10, 2024

Il y a un projet de tenter de supporter les DRM dans un avenir rapproché alors il faut garder espoir que ça marche un jour...

from depotquebec.

anisite avatar anisite commented on August 10, 2024

@ehoffman2 bonjour, une nouvelle version ici https://github.com/anisite/plugin.infologique.tou.tv/tree/DRM permet de supporter les DRM, si vous voulez tester avant la version finale!

from depotquebec.

anisite avatar anisite commented on August 10, 2024

La version finale 3.0.1 est sortie aujourd'hui, SVP ré-ouvrir un bug ou ré-ouvrir celui-ci si vous rencontrez des difficultés.

from depotquebec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.