随笔分类 -  逆向-爬虫

记scrapy小坑
摘要:在一次用scrapy 爬虫过程中 想提前新建一个目录表,然后用pymysql写入数据库中 遇到两个小问题 1.一直报下面这个错误 Unknown column '字段名' in 'field list' 最后发现没改表名字 即 sql = 'INSERT INTO x5_category(categ 阅读全文
posted @ 2024-12-13 22:05 我爱你的 阅读(26) 评论(0) 推荐(0)
有道翻译-Python请求参数
摘要:import subprocessfrom functools import partialsubprocess.Popen = partial(subprocess.Popen, encoding='utf-8')import execjsimport requestsdef medthod_ex 阅读全文
posted @ 2024-09-06 16:13 我爱你的 阅读(44) 评论(0) 推荐(0)
有道翻译-解密sgin值
摘要:const CryptoJS = require('crypto-js')// var text = "123456"// md5Text = CryptoJS.MD5(text).toString()// // console.log(md5Text);// //输出: e10adc3949ba5 阅读全文
posted @ 2024-09-06 16:08 我爱你的 阅读(46) 评论(0) 推荐(0)