Cho mình hỏi: Cái hàm này có web lấy được link có web không lấy được là sao vậy ? [QUOTE] public function parseCatalog($max) { $urls = array_slice($this->xpathArray("//a[@class='productCard_35Xb product-card-wrap']/@href"), 0, $max);
foreach ($urls as $i => $url) { if (!preg_match('/^https?:\\/\\//\
