上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 25 下一页
摘要: 只能爬取缩略图,如果要爬取高清或者原图,还需要修改 我大概看了一下,爬原图基本没戏,需要登录,每天一张,非人民币玩家,自己改改,多账号,堆时间进行下载吧 下面是代码;python3.x 如果库不存在的,可以自己pip下载安装 后面我抽时间优化一下,下载高清图 只是现在用不到,不想花时间在这上面 # 阅读全文
posted @ 2021-12-21 22:15 darling331 阅读(185) 评论(0) 推荐(0)
摘要: 前提 安装好docker&docker-compose,如果没有安装好的,参考我另一章博客文章 传送门 docker-compose.yml 文件 version: '3' services: gitlab: image: 'gitlab/gitlab-ce:latest' container_na 阅读全文
posted @ 2021-12-13 14:49 darling331 阅读(362) 评论(0) 推荐(0)
摘要: python 多线程 import threading from time import sleep def reste(chapter, chapter_herf, sleeptime): sleep(sleeptime) print(' ') # doSomeThing # content = 阅读全文
posted @ 2021-12-09 22:46 darling331 阅读(266) 评论(0) 推荐(0)
摘要: 参看这篇博主的博客 https://blog.csdn.net/fin86889003/article/details/79082743 阅读全文
posted @ 2021-12-09 16:46 darling331 阅读(42) 评论(0) 推荐(0)
摘要: 安装环境 Centos7 默认docker和docker-compose已经安装好 如果没有安装的,可以参考这篇博客 https://www.cnblogs.com/darling331/p/14621427.html 文末有我遇到的一些问题,如果你也遇到了,可以参考下 创建目录文件夹 mkdir 阅读全文
posted @ 2021-12-08 20:48 darling331 阅读(395) 评论(0) 推荐(0)
摘要: 业务场景 前提,不知道服务器的账号密码, 目的,想快速的进行服务器之间的文件传输 想到了使用文件服务器,在当前服务器请求目标服务器的文件 wget http://127.0.0.1:3334/file/xxx.jar 感觉只是为了文件的传输去搭建一个文件服务器,感觉有点大材小用。 那么,我就想到了n 阅读全文
posted @ 2021-12-07 21:48 darling331 阅读(511) 评论(0) 推荐(0)
摘要: 话不多说,看例子 import pymysql import uvicorn as u from fastapi import FastAPI from fastapi.staticfiles import StaticFiles # 主要功能是导入静态文件类,因为我们要用到js、CSS # imp 阅读全文
posted @ 2021-12-03 14:34 darling331 阅读(1091) 评论(0) 推荐(0)
摘要: navicat 批量插入文件导出方式 选中数据库转储sql带数据的时候,一般格式如下: INSERT INTO `t_member` VALUES (1, '1', NULL); INSERT INTO `t_member` VALUES (2, '1', 23); INSERT INTO `t_m 阅读全文
posted @ 2021-12-03 13:09 darling331 阅读(1083) 评论(0) 推荐(0)
摘要: 安装redis的python库 pip install redis 普通的redis链接操作 import redis # 导入redis模块 r = redis.Redis(host='localhost', port=6379, password="pwd@321", db=1,decode_r 阅读全文
posted @ 2021-12-01 22:44 darling331 阅读(307) 评论(0) 推荐(0)
摘要: 安装mysql客户端 apt install mysql-client-core-5.7 执行连接数据库 mysql -h192.168.1.1 -uroot -p123456 -P3306 默认端口的话不需要-P参数 查看数据库列表 show databases; 切换到数据库 use xxx; 阅读全文
posted @ 2021-11-23 18:08 darling331 阅读(844) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 25 下一页