src/curlient/crawler/ListCrawler.php
private function includes($pages, $includes) {
		if (!is_array($includes) || empty($includes)) {
			return $pages;
		}

		return array_filter($pages, function ($page) use ($includes) {
			foreach ($includes as $in) {
				if (strpos($page['url'], $in) !== false) {//只要有，就要它
					return true;
				}
			}

			return false;//默认不要
		});
	}
private function includes($pages, $includes) {
		if (!is_array($includes) || empty($includes)) {
			return $pages;
		}

		return array_filter($pages, function ($page) use ($includes) {
			foreach ($includes as $in) {
				if (strpos($page['url'], $in) !== false) {//只要有，就要它
					return true;
				}
			}

			return false;//默认不要
		});
	}
包含