module Likee::Utils
Overview
The Utils
module defines multiple helpers.
Defined in:
likee/utils.crConstant Summary
-
OPERATING_SYSTEMS =
["Macintosh; Intel Mac OS X 10_15_7", "Macintosh; Intel Mac OS X 10_15_5", "Macintosh; Intel Mac OS X 10_11_6", "Macintosh; Intel Mac OS X 10_6_6", "Macintosh; Intel Mac OS X 10_9_5", "Macintosh; Intel Mac OS X 10_10_5", "Macintosh; Intel Mac OS X 10_7_5", "Macintosh; Intel Mac OS X 10_11_3", "Macintosh; Intel Mac OS X 10_10_3", "Macintosh; Intel Mac OS X 10_6_8", "Macintosh; Intel Mac OS X 10_10_2", "Macintosh; Intel Mac OS X 10_10_3", "Macintosh; Intel Mac OS X 10_11_5", "Windows NT 10.0; Win64; x64", "Windows NT 10.0; WOW64", "Windows NT 10.0"]
Class Method Summary
-
.random_profile_url : String
Generates a random user profile url.
-
.random_user_agent : String
Generates a random user agent string.
Class Method Detail
def self.random_user_agent : String
#
Generates a random user agent string. Heavily inspired by https://github.com/drawrowfly/tiktok-scraper.