python faker 库 教程

Published by rcdfrd on 2022-03-30
from faker.providers import user_agent
from faker import Faker
faker = Faker()
faker.add_provider(user_agent)
faker.chrome()  # 获取 chrome UA