cookie lib policy how-tp?
Marc Christiansen
tolot at jupiter.solar-empire.de
Tue Dec 7 16:42:56 EST 2004
Riko Wichmann <riko.wichmann at remove-this.desy.de> wrote:
> Jonathan Ellis wrote:
>>
>> Sounds like your first step should be to identify yourself as IE.
>>
>> opener = urllib2.build_opener(...)
>> opener.addheaders = [("User-Agent", "whatever IE calls itself these
>> days")]
>>
>> -Jonathan
>>
>
> Tried that already. At least, I hope I guessed at least one of the
> possible identifiers correct: MSIE6.0, MSIE 6.0, MSIE/6.0
When my opera is set to identify as MSIE, it sends
"Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686) Opera 7.54 [en]".
Saluton
Marc
More information about the Python-list
mailing list