Mechanize and Yahoo HTTPS

Jett jettgamboa at gmail.com
Sun Sep 28 09:00:19 EDT 2008


Has anybody used the mechanize library with a Yahoo site?  I am trying
to create a program that will download my player's stats from Yahoo's
Fantasy Football site but for some reason could not get it to load the
login page.

When I run the program below, it prints the word "start" and then does
nothing (no exceptions are thrown).

---- code snippet start ----
import re
from mechanize import Browser

print 'start'

br = Browser()

response1 = br.open("https://login.yahoo.com/config/login?.done=http://
sports.yahoo.com/fantasy&.src=spt")
print br.title()

print "end"
---- code snippet end ----




More information about the Python-list mailing list