开发者

Post a form with urllib and move to that page like a web browser

I want to POST a form manually using urllib and redirect the user to that page as if he had clicked the submit button in a web browser.

The reason I'm doing this is because before submitting a payment to paypal, I need to store some information into the DB. Then I want to han开发者_开发知识库dle the user to the paypal website without having him to click again in a "Buy now" button.

I'm using Django, if this matters somehow.

is this possible? thanks


This tool might help you: http://wwwsearch.sourceforge.net/mechanize/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜