Python3 Reptile Random User-agent

Source: Internet
Author: User

" "Created on September 25, 2017 @author:kearney" "ImportRandomdefget_useragents (): Useragents= [        "mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) applewebkit/537.36 (khtml, like Gecko) chrome/35.0.1916.47 safari/537.36",        "mozilla/5.0 (Windows NT 10.0; Win64; x64) applewebkit/537.36 (khtml, like Gecko) chrome/51.0.2704.103 safari/537.36",        "mozilla/5.0 (Windows NT 10.0; WOW64) applewebkit/537.36 (khtml, like Gecko) chrome/57.0.2987.133 safari/537.36",        "mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Acoobrowser;. NET CLR 1.1.4322;. NET CLR 2.0.50727)",        "mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Acoo Browser; SLCC1;. NET CLR 2.0.50727; Media Center PC 5.0;. NET CLR 3.0.04506)",        "mozilla/4.0 (compatible; MSIE 7.0; AOL 9.5; Aolbuild 4337.35; Windows NT 5.1;. NET CLR 1.1.4322;. NET CLR 2.0.50727)",        "mozilla/5.0 (Windows; U MSIE 9.0; Windows NT 9.0; En -US)",        "mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; trident/5.0;. NET CLR 3.5.30729;. NET CLR 3.0.30729;. NET CLR 2.0.50727; Media Center PC 6.0)",        "mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.0; trident/4.0; WOW64; trident/4.0; SLCC2;. NET CLR 2.0.50727;. NET CLR 3.5.30729;. NET CLR 3.0.30729;. NET CLR 1.0.3705;. NET CLR 1.1.4322)",        "mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 5.2;. NET CLR 1.1.4322;. NET CLR 2.0.50727; infopath.2;. NET CLR 3.0.04506.30)",        "mozilla/5.0 (Windows; U Windows NT 5.1; ZH-CN) applewebkit/523.15 (khtml, like Gecko, safari/419.3) arora/0.3 (change:287 c9dfb30)",        "mozilla/5.0 (X11; U Linux; En-US) applewebkit/527+ (khtml, like Gecko, safari/419.3) arora/0.6",        "mozilla/5.0 (Windows; U Windows NT 5.1; En-us; Rv:1.8.1.2pre) gecko/20070215 k-ninja/2.1.1",        "mozilla/5.0 (Windows; U Windows NT 5.1; ZH-CN; rv:1.9) gecko/20080705 firefox/3.0 kapiko/3.0",        "mozilla/5.0 (X11; Linux i686; U;) gecko/20070322 kazehakase/0.4.5",        "mozilla/5.0 (X11; U Linux i686; En-us; rv:1.9.0.8) Gecko fedora/1.9.0.8-1.fc10 kazehakase/0.5.6",        "mozilla/5.0 (Windows NT 6.1; WOW64) applewebkit/535.11 (khtml, like Gecko) chrome/17.0.963.56 safari/535.11",        "mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) applewebkit/535.20 (khtml, like Gecko) chrome/19.0.1036.7 safari/535.20",        "opera/9.80 (Macintosh; Intel Mac OS X 10.6.8; U FR) presto/2.9.168 version/11.52",        "mozilla/5.0 (Windows; U Windows NT 5.2) gecko/2008070208 firefox/3.0.1",        "mozilla/5.0 (Windows; U Windows NT 5.1) gecko/20070309 firefox/2.0.0.3",        "mozilla/5.0 (Windows; U Windows NT 5.1) gecko/20070803 firefox/1.5.0.12",        "opera/9.27 (Windows NT 5.2; U ZH-CN)",        "mozilla/5.0 (Windows; U Windows NT 5.2) applewebkit/525.13 (khtml, like Gecko) version/3.1 safari/525.13",        "mozilla/5.0 (IPhone; U CPU like Mac OS X) applewebkit/420.1 (khtml, like Gecko) version/3.0 mobile/4a93",        "mozilla/5.0 (Windows; U Windows NT 5.2) applewebkit/525.13 (khtml, like Gecko) chrome/0.2.149.27",        "mozilla/5.0 (Linux; U Android 3.2; JA-JP; f-01d build/f0001) applewebkit/534.13 (khtml, like Gecko) version/4.0 safari/534.13",        "mozilla/5.0 (IPhone; U CPU iPhone os 4_1 like Mac os X; JA-JP) applewebkit/532.9 (khtml, like Gecko) version/4.0.5 mobile/8b117 safari/6531.22.7",        "mozilla/5.0 (IPhone; U CPU iPhone os 4_2_1 like Mac os X; DA-DK) applewebkit/533.17.9 (khtml, like Gecko) version/5.0.2 mobile/8c148 safari/6533.18.5",        "mozilla/5.0 (Macintosh; U Intel Mac OS X 10_5_6; En-US) applewebkit/530.9 (khtml, like Gecko) chrome/safari/530.9",        "mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) applewebkit/535.11 (khtml, like Gecko) chrome/17.0.963.56 safari/535.11",        "mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; 360SE)",        "mozilla/5.0 (X11; Linux x86_64) applewebkit/535.11 (khtml, like Gecko) ubuntu/11.10 chromium/27.0.1453.93 chrome/27.0.1453.93 Safari/ 537.36",        "mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) applewebkit/537.36 (khtml, like Gecko) chrome/27.0.1453.93 safari/537.36",        "mozilla/5.0 (Windows NT 6.2; WOW64) applewebkit/537.36 (khtml, like Gecko) chrome/27.0.1453.94 safari/537.36"] useragent=Random.choice (useragents)returnUserAgent

Python3 Reptile Random User-agent

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.