parent
8e1e188214
commit
dbe0c3dd86
1
URLs.py
1
URLs.py
|
@ -10,6 +10,7 @@ class URL:
|
|||
def GetURL(self, urlRange=(1,10)):
|
||||
self.url = ""
|
||||
while self.url in list(self.urls) or self.url == "":
|
||||
self.url = ""
|
||||
for i in range(0,random.randint(*urlRange)):
|
||||
self.url += chr(random.choice((random.randint(65,90), random.randint(97,122), random.randint(48,57)))) #first one is uppercase; 2nd is lowercase; 3rd: numbers
|
||||
def GetConfig(self):
|
||||
|
|
Loading…
Reference in New Issue