01 2020 档案
摘要:re.findall(r"window.data\['chaoshi_fs_1'\] = ({\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.*\n.
阅读全文
摘要:在requests headers中,我们可以看到If - Modified-Since 和If-None-Natch 这两项,服务器就是通过检查这两项来判断是否是已经做了缓存,因此在设置headers的时候只需要将这两项删除即可。 记抓取信息时遇到304状态码的应对方法原创冻梨不是梨 最后发布于2
阅读全文
摘要:1、select a.* from tb a where val = (select max(val) from tb where name = a.name) order by a.name分组查询各组最大值;牛逼之处在于where name = a.name,用这句进行分组,然后组内找出最大值。
阅读全文
摘要:在不同文件夹下(如果是pycharm运行的时候需要设置一下,具体操作看https://blog.csdn.net/versionkang/article/details/89347574) A.py文件的文件路径:E:\PythonProject\winycg B.py文件: import syss
阅读全文