Source

VPlayer / logininfo.py

Full commit
# -*- coding: utf-8 -*-

from hashlib import md5
import urllib, urllib2

from PyQt4 import QtCore


class LoginInfo:
    def __init__(self, login, id, passwd):
        self.login = login
        self.id = id
        self.passwd = passwd
        self.cookies = 'remixmid=%s; remixemail=%s; remixpass=%s;' % \
                (id, login.replace('@','%40'), md5(passwd).hexdigest())