mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-20 13:01:31 +00:00
460 B
460 B
youtubei.js / Utils / getRandomUserAgent
Function: getRandomUserAgent()
getRandomUserAgent(
type):string
Returns a random user agent.
Parameters
• type: DeviceCategory
mobile | desktop
Returns
string