import requests# from lxml import etreefrom pyquery import PyQuery# from bs4 import BeautifulSoup count = 1url = "https://www.169tp.com/rentiyishu ...
一 目标 爬取网址 https: www. tp.com gaogensiwa 前 页的美女图片 二 准备 通过pip安装第三方库 request PyQuery fake useragent pip install request pip installPyQuery pip installfake useragent 项目下新建image目录 三 代码import requestsfrom p ...
2020-03-29 16:01 0 868 推荐指数:
import requests# from lxml import etreefrom pyquery import PyQuery# from bs4 import BeautifulSoup count = 1url = "https://www.169tp.com/rentiyishu ...
通过PS 修改图片某个特定部位的颜色 1)先用PS打开图片,如下: 2)选择魔法工具,并且按需求设定参数,如下图: 3) 选中需要修改颜色的部位,如图: 4)挑选自己中意的颜色,如图: 5)使用命令填充颜色(Alt + delete: 填充前置颜色,Ctrl ...
模板: 控制器: $params = Request::param(); //获取不到 type="file" 这种类型的值 Request ...
//控制器文件 public function index(){ if(!empty($_POST)){ $file = $_FILES["file"]; ...
...
...
控制器调用 公共方法 ...
...