Всем привет, помогите - как скачать вот эту картинку ??
http://www.lineage2dex.com/captcha.php?
#!/usr/bin/env python #-*- coding: utf8 -*- import re import requests from Crypto.Cipher import AES URL = 'http://www.lineage2dex.com/captcha.php' TO_NUMBERS_RE = re.compile('toNumbers\("([0-9, a-f]+)"\)') def to_numbers(hex_string): return hex_string.decode('hex') def main(): r = requests.get(URL) key, iv, ciphered = map(to_numbers, TO_NUMBERS_RE.findall(r.text)) aes = AES.new(key, mode=AES.MODE_CBC, IV=iv) magic = aes.decrypt(ciphered).encode('hex') r = requests.get(URL, cookies={'__HFUID': magic}) if r.headers['content-type'] != 'image/png': print '[-] Bad response!' return 1 with open('captha.png', 'wb') as fd: fd.write(r.content) return 0 main()
s0rghttp://www.lineage2dex.com/
Ни в браузере, ни в вашем файле я текста не вижу.