Opened 11 years ago

Closed 11 years ago

#6231 closed defect (fixed)

allocine.pl hangs when a query returns no result

Reported by: zorglups Owned by: Anduin Withers
Priority: minor Milestone: unknown
Component: Plugin - MythVideo Version: unknown
Severity: medium Keywords: imdb allocine
Cc: Ticket locked: no

Description

If a query has no result on the Allocine site, then the page used to display "Pas de resultat". The site is now making a search on the www instead and the script should look for "Recherche web sur AlloCin?" as well.

Here after is a little diff that shows the easy correction:

<          return if $response =~ /Pas de résultats/;
---
>          return if $response =~ /Pas de résultats|Recherche web sur AlloCin/;

This works quite well on my system and a few other people are using my modified allocine.pl as well.

Best regards,

Pierre

Attachments (1)

allocine.pl.6231.patch (2.6 KB) - added by zorglups 11 years ago.
patch to the allocine.pl v2.00 from Xavier Hervy

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by zorglups

Hi,

Since a few days, the Allocine site got a few changes which made many fields not understood anymore by the allocine.pl

I did some corrections (backward compatible) to make the script work again. The only things I had no time to solve are the ratings.

Please find attached a patch file (allocine.pl.6231.1.diff). This is a patch file to apply to the v2.00 from Xavier Hervy

Best regards,

Pierre.

Changed 11 years ago by zorglups

Attachment: allocine.pl.6231.patch added

patch to the allocine.pl v2.00 from Xavier Hervy

comment:2 Changed 11 years ago by Anduin Withers

Owner: changed from Isaac Richards to Anduin Withers
Status: newassigned

comment:3 Changed 11 years ago by Anduin Withers

Component: Contributed Scripts & AppsPlugin - MythVideo

comment:4 Changed 11 years ago by Anduin Withers

Resolution: fixed
Status: assignedclosed

(In [20160]) Closes #6231

Fixes allocine.pl grabber.

Thanks to Xavier Hervy for this patch.

Any bugs are my own as I altered it slightly.

Note: See TracTickets for help on using tickets.