爬虫 fake_useragent
摘要:
```
import requests
from fake_useragent import UserAgent ua = UserAgent() headers = { "UserAgent": ua.random
} song_name = 'test'
res = requests.get(search_url, headers=headers)
``` 阅读全文
posted @ 2019-08-05 14:52 jwang106 阅读(132) 评论(0) 推荐(0) 编辑