import requests
import os
from random import randint
for x in range(100, 1000):
url = ""
payload = {}
headers= {}
response = requests.request("GET", url, headers=headers, data = payload)
#print(response.text.encode('utf8'))
url = ""
payload = {}
response = requests.request("GET", url, cookies=response.cookies)
f_ext = x
f_name = 'D:/Temp/Captcha/{}.png'.format(f_ext)
with open(f_name, 'wb') as f:
f.write(response.content)
print("Iteration : " + str(x) )
print( "Done !")
import os
from random import randint
for x in range(100, 1000):
url = "
payload = {}
headers= {}
response = requests.request("GET", url, headers=headers, data = payload)
#print(response.text.encode('utf8'))
url = "
payload = {}
response = requests.request("GET", url, cookies=response.cookies)
f_ext = x
f_name = 'D:/Temp/Captcha/{}.png'.format(f_ext)
with open(f_name, 'wb') as f:
f.write(response.content)
print("Iteration : " + str(x) )
print( "Done !")
No comments:
Post a Comment