Bug 235901

Summary: Allocine.fr returns bad "Genre" and "Résumé" data
Product: [Applications] tellico Reporter: Romain Henriet <romain.pub>
Component: generalAssignee: Robby Stephenson <robby>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Patch for fr.allocine.py

Description Romain Henriet 2010-05-01 12:17:12 UTC
Version:            (using KDE 4.4.2)
OS:                Linux
Installed from:    openSUSE RPMs

Example using last allocine script with film "Goldeneye":

Genre => 
Espionnage; Policier; Thriller; Action; 1995; United international pictures (uip); <img class="ico" alt=" " title="" width="0" height="0" src="http://images.allocine.fr/commons/empty.gif"/>lire la suite; <img id="imgrtt" class="ico icotickdown" src="http://images.allocine.fr/commons/empty.gif" width="0" height="0" alt="" title="" />; Spectateurs; <img class="stareval n30 on4" src='http://images.allocine.fr/commons/empty.gif' width='0' height='0' alt='3,2' title='3,2' />; <img class="ico icoquestion" src='http://images.allocine.fr/commons/empty.gif' width='0' height='0' alt='' title='' />; 0; 0,5; 1; 1,5; 2; 2,5; 3; 3,5; 4; Ajouter ce film à une liste; Poster ma critique; <span>dvd et blu-ray</span>; <img class="ico icofavadd" src="http://images.allocine.fr/commons/empty.gif" width="0" height="0" alt="" title="ajouter" /><span cmovie="13665"></span>; Goldeneye [dvd]

Résumé =>
S'inscrire  |     Se connecter
  
  Se déconnecter 
 
    
0,511,522,533,54Accueil 
iPhone 
 Cinéma  
 Séries TV  
 Stars  
 Vidéos  
 VOD  
 Communauté  
Plus 
 
 Rechercher 
Ex. : Le Dernier maître de l'air, Lost, Pathé, Gaumont, 69001, Marseille...
Comment 1 Romain Henriet 2010-05-01 12:22:52 UTC
Created attachment 43142 [details]
Patch for fr.allocine.py

Changes regular expressions to make the script waork again with current allocine.fr site.
Comment 2 Robby Stephenson 2010-05-01 20:08:53 UTC
Thanks for the bug report and patch. It's fixed in SVN already, along with adding a unit test.