随机UA

from fake_useragent import UserAgent

ua = UserAgent().random

headers={
    'User-Agent':ua
}

print(headers)

 

posted @ 2019-05-25 17:21  冰底熊  阅读(564)  评论(0编辑  收藏  举报