public function getAds($url, $maxAds = 0)
    {
        $ads        = [];
        $pageNumber = 1;
        $fetchedAds = 0;

        do {
            $crawler = $this->client->request('GET', $url, [
                'o' => $pageNumber,
            ]);

            $totalAds = str_replace(' ', '',
                $crawler->filter('#listingAds section header nav a')->first()->filter('span')->text()
            );

            $nbAdsInPage = $crawler->filter('#listingAds > section > section > ul > li')->count();

            $ads += $this->_fetchAds($crawler, $fetchedAds, $maxAds);

            $fetchedAds += $nbAdsInPage;
            $pageNumber++;
        } while ($fetchedAds < $totalAds && ($maxAds == 0 || $fetchedAds < $maxAds));

        return array_slice($ads, 0, $maxAds ? $maxAds : count($ads));
    }