faker.providers.user_agentΒΆ

fake.mac_processor()
# u'U; Intel'

fake.firefox()
# u'Mozilla/5.0 (Macintosh; PPC Mac OS X 10_6_7; rv:1.9.4.20) Gecko/2010-11-06 12:01:51 Firefox/3.6.7'

fake.linux_platform_token()
# u'X11; Linux i686'

fake.opera()
# u'Opera/8.40.(X11; Linux i686; it-IT) Presto/2.9.179 Version/12.00'

fake.windows_platform_token()
# u'Windows NT 4.0'

fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 7.0; Windows 98; Win 9x 4.90; Trident/4.1)'

fake.user_agent()
# u'Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/5.0)'

fake.chrome()
# u'Mozilla/5.0 (Windows NT 5.2) AppleWebKit/5352 (KHTML, like Gecko) Chrome/15.0.882.0 Safari/5352'

fake.linux_processor()
# u'x86_64'

fake.mac_platform_token()
# u'Macintosh; U; PPC Mac OS X 10_5_2'

fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_3 like Mac OS X; sl-SI) AppleWebKit/535.49.4 (KHTML, like Gecko) Version/3.0.5 Mobile/8B115 Safari/6535.49.4'

Previous topic

faker.providers.ssn

Next topic

Locales

This Page