Advertisement
dereksir

Untitled

Apr 5th, 2024 (edited)
958
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.25 KB | None | 0 0
  1. public class Main {
  2.     public static void main(String[] args) {
  3.         //...
  4.  
  5.         // randomly select UA from the list
  6.         Random random = new Random();
  7.         String randomUserAgent = userAgents.get(random.nextInt(userAgents.size()));
  8.     }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement