enhanced scrape.py to support submission of mutipart forms