from fake_useragent import UserAgent

try:
ua = UserAgent().random