'https://cdn.jsdelivr.net/gh/proxifly/free-proxy-list@main/proxies/all/data.json', 'scrape_type' => 'json', 'proxy_type' => 'http' ]); // SOCKS4 proxies with new_line scrape type $socks4Urls = [ 'https://api.proxyscrape.com/v3/free-proxy-list/get?request=displayproxies&protocol=socks4&proxy_format=ipport&format=text&timeout=20000', 'https://proxyspace.pro/socks4.txt', 'https://www.proxy-list.download/api/v1/get?type=socks4', 'https://cdn.rei.my.id/proxy/SOCKS4', 'https://raw.githubusercontent.com/monosans/proxy-list/main/proxies/socks4.txt', 'https://raw.githubusercontent.com/zevtyardt/proxy-list/main/socks4.txt', 'https://raw.githubusercontent.com/ALIILAPRO/Proxy/main/socks4.txt', 'https://raw.githubusercontent.com/Zaeem20/FREE_PROXIES_LIST/master/socks4.txt', 'https://raw.githubusercontent.com/noarche/proxylist-socks5-sock4-exported-updates/main/socks4-online.txt', 'https://raw.githubusercontent.com/vakhov/fresh-proxy-list/master/socks4.txt', 'https://raw.githubusercontent.com/mmpx12/proxy-list/master/socks4.txt', 'https://raw.githubusercontent.com/roosterkid/openproxylist/master/SOCKS4_RAW.txt', 'https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/socks4.txt', 'https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/http.txt', 'https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/httpS.txt', 'https://raw.githubusercontent.com/ErcinDedeoglu/proxies/main/proxies/socks4.txt', 'https://raw.githubusercontent.com/Tsprnay/Proxy-lists/master/proxies/socks4.txt' ]; // SOCKS4 proxies with scrape_website scrape type $socks4WebUrls = [ 'https://proxyhub.me/en/all-socks4-proxy-list.html', 'https://www.my-proxy.com/free-socks-4-proxy.html', 'https://www.socks-proxy.net/' ]; // SOCKS5 proxies with new_line scrape type $socks5Urls = [ 'https://api.proxyscrape.com/v3/free-proxy-list/get?request=displayproxies&protocol=socks5&proxy_format=ipport&format=text&timeout=20000', 'https://proxyspace.pro/socks5.txt', 'https://www.proxy-list.download/api/v1/get?type=socks5', 'https://raw.githubusercontent.com/hookzof/socks5_list/master/proxy.txt', 'https://raw.githubusercontent.com/monosans/proxy-list/main/proxies/socks5.txt', 'https://raw.githubusercontent.com/zevtyardt/proxy-list/main/socks5.txt', 'https://raw.githubusercontent.com/ALIILAPRO/Proxy/main/socks5.txt', 'https://raw.githubusercontent.com/Zaeem20/FREE_PROXIES_LIST/master/socks5.txt', 'https://raw.githubusercontent.com/noarche/proxylist-socks5-sock4-exported-updates/main/socks5-online.txt', 'https://raw.githubusercontent.com/vakhov/fresh-proxy-list/master/socks5.txt', 'https://raw.githubusercontent.com/mmpx12/proxy-list/master/socks5.txt', 'https://raw.githubusercontent.com/roosterkid/openproxylist/master/SOCKS5_RAW.txt', 'https://raw.githubusercontent.com/TheSpeedX/PROXY-List/master/socks5.txt', 'https://raw.githubusercontent.com/ErcinDedeoglu/proxies/main/proxies/socks5.txt', 'https://raw.githubusercontent.com/Tsprnay/Proxy-lists/master/proxies/socks5.txt' ]; // SOCKS5 proxies with scrape_website scrape type $socks5WebUrls = [ 'https://proxy-tools.com/proxy/socks5', 'https://proxyhub.me/en/all-sock5-proxy-list.html' ]; // Insert HTTP/HTTPS proxies foreach ($httpUrls as $url) { ProxiesList::create([ 'url' => $url, 'scrape_type' => 'new_line', 'proxy_type' => 'http' ]); } // Insert SOCKS4 proxies with new_line scrape type foreach ($socks4Urls as $url) { ProxiesList::create([ 'url' => $url, 'scrape_type' => 'new_line', 'proxy_type' => 'socks4' ]); } // Insert SOCKS4 proxies with scrape_website scrape type foreach ($socks4WebUrls as $url) { ProxiesList::create([ 'url' => $url, 'scrape_type' => 'scrape_website', 'proxy_type' => 'socks4' ]); } // Insert SOCKS5 proxies with new_line scrape type foreach ($socks5Urls as $url) { ProxiesList::create([ 'url' => $url, 'scrape_type' => 'new_line', 'proxy_type' => 'socks5' ]); } // Insert SOCKS5 proxies with scrape_website scrape type foreach ($socks5WebUrls as $url) { ProxiesList::create([ 'url' => $url, 'scrape_type' => 'scrape_website', 'proxy_type' => 'socks5' ]); } } }