摘要:
```python # -*- coding: utf-8 -*- """ 所有请求头的USER_AGENTS网址 http://www.useragentstring.com/pages/useragentstring.php?name=All """ import json import random import requests USER_AGENTS = [ 'Mozilla/5.0 (
阅读全文
posted @ 2020-01-04 17:01
行之间
阅读(1154)
推荐(0)
编辑
摘要:
```python import os import requests from lxml import etree from urllib import request headers = { 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en',
阅读全文
posted @ 2020-01-04 13:42
行之间
阅读(226)
推荐(0)
编辑