mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-15 02:22:11 +00:00
458 B
458 B
youtubei.js / Utils / getRandomUserAgent
Function: getRandomUserAgent()
getRandomUserAgent(
type):string
Returns a random user agent.
Parameters
• type: DeviceCategory
mobile | desktop
Returns
string