mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 11:02:10 +00:00
* chore: generate API ref using `typedoc` * chore: declutter readme and add links to ytjs.dev * chore: clean up
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