def getMovie(self, id): self.get_token() response = self.login( self.username, self.password, {'referer': id}) return Movie().get(response)
def getMovie(self, url): # self.get_token() # response = self.login( # self.username, # self.password, # {'referer': id}) return Movie().get(self.request.get(url))
def getLink(self, url): response = self.request.get(url) return Movie().get_link(response)