protected function normalizeScrape($value)
	{
		if (!empty($value) && !isset($value[0]))
		{
			$value = [$value];
		}
		foreach ($value as &$scrape)
		{
			$scrape           += ['extract' => [], 'match' => '//'];
			$scrape['extract'] = $this->normalizeRegexp($scrape['extract']);
			$scrape['match']   = $this->normalizeRegexp($scrape['match']);
		}
		unset($scrape);

		return $value;
	}
protected function normalizeScrape($value)
	{
		if (!empty($value) && !isset($value[0]))
		{
			$value = [$value];
		}
		foreach ($value as &$scrape)
		{
			$scrape           += ['extract' => [], 'match' => '//'];
			$scrape['extract'] = $this->normalizeRegexp($scrape['extract']);
			$scrape['match']   = $this->normalizeRegexp($scrape['match']);
		}
		unset($scrape);

		return $value;
	}
protected function normalizeScrape ( $ value ) { if ( ! empty ( $ value ) && ! isset ( $ value [ 0 ] ) ) { $ value = [ $ value ] ; } foreach ( $ value as & $ scrape ) { $ scrape += [ 'extract' => [ ] , 'match' => '//' ] ; $ scrape [ 'extract' ] = $ this -> normalizeRegexp ( $ scrape [ 'extract' ] ) ; $ scrape [ 'match' ] = $ this -> normalizeRegexp ( $ scrape [ 'match' ] ) ; } unset ( $ scrape ) ; return $ value ; }
Normalize the "scrape" value

@param  array
@return array
Normalize the scrape value