I have a twill script that I am trying to use to get the html code from a web page and output to a text file. The problem I have is that all the code does not show up in my text file. The actual parts I need are left out. When I go to the web page manually and do "View, Page Source" I can see all the information. Here is a sample of the script I am using (website, username and password have been changed.
import twill, string, os
from twill import get_browser
b = get_browser()
from twill.commands import *
formvalue ("form1", "name", "$username")
formvalue ("form1", "password", "$password")
Does anyone know what the problem is?