diff --git a/sources/AppBundle/Indexation/Meetups/MeetupScraper.php b/sources/AppBundle/Indexation/Meetups/MeetupScraper.php index 4f6ef1324..e724736ad 100644 --- a/sources/AppBundle/Indexation/Meetups/MeetupScraper.php +++ b/sources/AppBundle/Indexation/Meetups/MeetupScraper.php @@ -42,7 +42,8 @@ public function getEvents() } $eventUrl = $event->getAttribute('href'); - if (preg_match('/\/(\d+)\/$/', $eventUrl, $matches)) { + + if (preg_match('/\/events\/(\d+)\//', $eventUrl, $matches)) { $id = (int) $matches[1]; } else { throw new Exception(sprintf('Pas d\'id pour cet évent de l\'antenne %s', $antenne));