![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
爬虫加密
Mr.Shawn
python小白,自学爬虫
展开
-
爬虫(js加密)-关于有道翻译的js加密简单破解
import requests import hashlib import time import random #以下的值是在js文件中查找到的,有道主要是通过sign和salt(言)进行js加密的 #sign = n.md5(“fanyideskweb” + e + i + “@6f#X3=cCuncYssPsuRUE”) #r = “” + (new Date).getTime() 155...原创 2019-04-08 22:45:11 · 181 阅读 · 0 评论 -
西刺ip代理采集和ip测试-国内免费高匿版本
采集程序 熟悉xpath和bs4的用法 coding:utf-8 import time import requests from bs4 import BeautifulSoup from fake_useragent import UserAgent #这是一个随机返回一个UA头的模块 from lxml import etree ua = UserAgent() headers = { ...原创 2019-04-09 16:22:14 · 2351 阅读 · 0 评论