摘要:
1 安装 fake_useragent pip install fake_useragent 2 使用 # -*- coding:utf-8 -*- from fake_useragent import UserAgent import random ua = UserAgent() headers 阅读全文
posted @ 2020-01-09 15:31
loren880898
阅读(1260)
评论(0)
推荐(0)
摘要:
例如: url = 'https://zozo.jp/shop/mrolive/goods-sale/44057773/?did=73037089' resp = requests.get(url=url) html = etree.HTML(resp.text) title = html.xpat 阅读全文
posted @ 2020-01-09 15:22
loren880898
阅读(2953)
评论(0)
推荐(0)

浙公网安备 33010602011771号