安装fake_useragent第三方库
pip install fake-useragent
from fake_useragent import UserAgent
ua = UserAgent()
for i in range(10):
# print(ua.random,"\n")
print(ua.chrome,"\n")
安装fake_useragent第三方库
pip install fake-useragent
from fake_useragent import UserAgent
ua = UserAgent()
for i in range(10):
# print(ua.random,"\n")
print(ua.chrome,"\n")