hookxhr专题

关于爬虫中的hook(defineProperty,hook cookies, hook载荷数据,hookXHR)

关于爬虫中的hook: defineProperty var people = {age: 19,};var count=20;console.log(people.age)// 参数:对象 属性名字 函数Object.defineProperty(people, 'age', {get: function () {console.log('获取值!');return count;