br.open('https://mog.com/hp/sign_in')
br.select_form(nr=0)
br['user[login]'] = your_login
br['user[password]'] = your_password
br.submit()
br.retrieve('http://mog.com/my_mog/playlists', 'playlist.html')
How can I log into a website using python?