07 2021 档案
摘要:/^([a-zA-Z0-9]+[_|_|\-|.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|_|.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,6}$/ 支持中间带点的邮箱格式,例如: bill.gates@gmail.com、elon.musk@twitter.c
阅读全文
摘要:由于公司项目需要获取谷歌搜索结果。可是谷歌搜索出来的结果大多都不足20页。直接上代码 import time from pprint import pprint import requests from bs4 import BeautifulSoup class GoogleSpider: def
阅读全文
摘要:public static function object_array($array) { if(is_object($array)) { $array = (array)$array; } if(is_array($array)) { foreach($array as $key=>$value)
阅读全文
摘要:$grid->paginate(100000000)->applyFilter();
阅读全文