Controller/UploadController.php
protected function processUrls(Request $request)
    {
        $externalRawMediaUrls = array();

        if ($request->get('urls')) {
            foreach ($request->get('urls') as $url) {
                $externalRawMediaUrls[] = $url;
            }
        }

        return $externalRawMediaUrls;
    }
protected function processUrls(Request $request)
    {
        $externalRawMediaUrls = array();

        if ($request->get('urls')) {
            foreach ($request->get('urls') as $url) {
                $externalRawMediaUrls[] = $url;
            }
        }

        return $externalRawMediaUrls;
    }
process the given urls.

@param Request $request

@return array