Skip to content

Commit

Permalink
Fix allocine movies provider
Browse files Browse the repository at this point in the history
  • Loading branch information
antlafarge committed Jan 17, 2025
1 parent ae30a0a commit 722ae37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/allocineMovieProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default class AllocineMovieProvider extends Provider {
Logger.debug(`decodedPart= ${decodedPart}`);
const movieId = decodedPart.replace(/.+=(.+)\..+/, '$1');
Logger.debug(`movieId= ${movieId}`);
movieIds.add(movieUrl);
movieIds.add(movieId);
}
catch (error) {
Logger.error(error, node.className);
Expand All @@ -85,7 +85,7 @@ export default class AllocineMovieProvider extends Provider {
const matches = [];
for (const movieId of movieIds) {
const movieUrl = `https://www.allocine.fr/film/fichefilm_gen_cfilm=${movieId}.html`;
Logger.debug(`movieUrl= ${url}`);
Logger.debug(`movieUrl= ${movieUrl}`);

try {
const infos = {
Expand Down

0 comments on commit 722ae37

Please sign in to comment.