Firstly really sorry for explaining the problem not clearly in Title. So Let's begin;
I need this captcha image to be downloaded in programmatically way.
import grab, requests, urllib
root_url = 'https://e-okul.meb.gov.tr/'
g = grab.Grab()
g.go(root_url)
e = g.doc.select('//*[@id="image1"]')
captcha_url = root_url + e.attr('src')
img = urllib.request.urlopen(captcha_url)
localFile = open('captcha.jpg', 'wb')
localFile.write(img.read())
localFile.close()
When I manually download the image with the very known way Save image as..
There is no problem.
Is there any chance to download this captcha with the way that I actually need?