deviantart login through python -


i'm trying make tiny bot (without api's or anything), filter out evil comments(just gonna use notepad list of swearwords) on profile page, , automatically hide them, can't log in deviantart no matter do, current script:

import urllib, urllib2, cookielib  username = 'usr' password = 'psw'  cj = cookielib.cookiejar() opener = urllib2.build_opener(urllib2.httpcookieprocessor(cj)) login_data = urllib.urlencode({'username' : username, 'password' : password}) opener.open('https://www.deviantart.com/users/login', login_data) resp = opener.open('https://www.deviantart.com/settings/identity') print resp.read() 

i'm opening identity page because it's page works when you're logged in, @ moment logged in user "null"


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -