Skip to content

Commit

Permalink
Fix allocine provider: get season page
Browse files Browse the repository at this point in the history
  • Loading branch information
antlafarge authored Jan 9, 2025
1 parent c30fe50 commit 85e161a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/allocineSerieProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default class AllocineMovieProvider extends Provider {
});

const nodes = dom.window.document.querySelectorAll(`a[href*='https://www.allocine.fr/series/ficheserie-']`);
const allocineSeasonUrlRegex = /^(https:\/\/www.allocine.fr\/series\/ficheserie-(\d+)\/saison-(\d+)).*?(\?.+?)?(#.+?)?$/i;
const allocineSeasonUrlRegex = /^(https:\/\/www.allocine.fr\/series\/ficheserie-(\d+)\/saison-(\d+)\/?).*?(\?.+?)?(#.+?)?$/i;

// Get urls and remove duplicates
const urls = [];
Expand Down

0 comments on commit 85e161a

Please sign in to comment.