Opened 15 years ago
Closed 15 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)
Change History (5)
comment:1 Changed 15 years ago by
Changed 15 years ago by
Attachment: | allocine.pl.6231.patch added |
---|
patch to the allocine.pl v2.00 from Xavier Hervy
comment:2 Changed 15 years ago by
Owner: | changed from Isaac Richards to Anduin Withers |
---|---|
Status: | new → assigned |
comment:3 Changed 15 years ago by
Component: | Contributed Scripts & Apps → Plugin - MythVideo |
---|
Note: See
TracTickets for help on using
tickets.
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.